DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Table of Contents Chapter 1 Using Command Line Interface ......................... 1 Chapter 2 Basic Command List ..........................8 Chapter 3 802.1Q VLAN Command List ........................22 Chapter 4 802.1X Command List ..........................36 Chapter 5 Access Authentication Control Command List ..................
Page 3
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Chapter 40 Loop Back Detection (LBD) Command List ..................341 Chapter 41 MAC Notification Command List ......................347 Chapter 42 MAC-based Access Control Command List ..................352 Chapter 43 MAC-based VLAN Command List ......................367 Chapter 44 Mirror Command List ..........................
Page 4
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Appendix A Password Recovery Procedure ......................632 Appendix B System Log Entries ..........................633 Appendix C Trap Log Entries ............................ 643 Appendix D RADIUS Attributes Assignment ......................647 Appendix E IETF RADIUS Attributes Support ......................649...
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Chapter 1 Using Command Line Interface The Switch can be managed through the Switch’s serial port, Telnet, SNMP or the Web-based management agent. The Command Line Interface (CLI) can be used to configure and manage the Switch via the serial port or Telnet interfaces.
Page 6
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Boot Procedure V1.00.001 ------------------------------------------------------------------------------- Power On Self Test ........100 % MAC Address : 00-01-02-03-04-00 H/W Version : A1 Please Wait, Loading V1.00.018 Runtime Image ....100 % UART init ..........100 % Starting runtime image Device Discovery ..........
Page 8
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide pressed to re-enter the previous command (config account) at the command prompt. Now the appropriate username can be entered and the config account command re-executed. All commands in the CLI function in this way. In addition, the syntax of the help prompts are the same as presented in this manual −...
Page 9
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Command: show Next possible completions: 802.1p 802.1x access_profile account accounting acct_client address_binding arp_spoofing_prevention arpentry attack_log auth_client auth_diagnostics auth_session_statistics auth_statistics authen authen_enable authen_login authen_policy authentication authorization autoconfig bandwidth_control boot_file bpdu_protection command command_history config...
Page 10
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Syntax Description angle brackets < > This syntax is used to enclose a variable or a value. Users must enter the variable or value. For example, in the config command_prompt [<string 16> | username | default] command, users must enter the command prompt string value and NOT the parameter <string 16>.
Page 11
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Multiple Page Display Control Keys When CLI paging is enabled, the screen display will pause when the show command output reaches the end of the page, as shown below. DGS-1510-28XMP/ME:admin#show stp ports...
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Chapter 2 Basic Command List show session show serial_port config serial_port {baud_rate [9600 | 19200 | 38400 | 115200] | auto_logout [never | 2_minutes | 5_minutes | 10_minutes | 15_minutes]} enable clipaging...
Page 13
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Live Time From Level Name --- ------------ --------------------------------------- ----- --------------- 00:01:46.360 10.90.90.10 puser puser 00:05:49.340 Serial Port admin admin Total Entries: 2 CTRL+C ESC q Quit SPACE n Next Page Previous Page...
Page 14
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Format config serial_port {baud_rate [9600 | 19200 | 38400 | 115200] | auto_logout [never | 2_minutes | 5_minutes | 10_minutes | 15_minutes]} Parameters baud_rate - (Optional) Specifies the serial bit rate that will be used to communicate with the management host.
Page 15
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Example To enable pausing of the screen display when show command output reaches the end of the page: DGS-1510-28XMP/ME:admin# enable clipaging Command: enable clipaging Success. DGS-1510-28XMP/ME:admin# disable clipaging Description This command is used to disable the pausing of the screen display when the show command output reaches the end of the page.
Page 16
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Parameters None. Restrictions None. Example To login the Switch with a user name dlink: DGS-1510-28XMP/ME:admin# login Command: login UserName:dlink PassWord:**** DGS-1510-28XMP/ME:admin# logout Description This command is used to logout the facility. Format...
Page 17
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# logout Command: logout ********** * Logout * ********** DGS-1510-28XMP/ME Gigabit Ethernet Switch Command Line Interface Firmware: Build 1.00.018 Copyright(C) 2015 D-Link Corporation. All rights reserved. UserName: Description This command is used to display the usage description for all commands or the specific one.
Page 18
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Format clear Parameters None. Restrictions None. Example To clear screen: DGS-1510-28XMP/ME:admin# clear Command: clear DGS-1510-28XMP/ME:admin# 2-10 show command_history Description The command is used to display command history. Format show command_history Parameters None.
Page 19
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# show command_history Command: show command_history ? ping login show serial_port show session ? config bpdu_protection ports ? reset ? create account ? create ipif show DGS-1510-28XMP/ME:admin# 2-11 config command_history Description This command is used to configure the number of commands that the Switch can recall. The Switch “remembers”...
Page 20
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Format config greeting_message {default} Parameters default - (Optional) Specifies to return the greeting message (banner) to its original factory default entry. Restrictions Only Administrators and Operators can issue this command. Example To edit the banner:...
Page 21
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Restrictions Only Administrators and Operators can issue this command. Example To display greeting message: DGS-1510-28XMP/ME:admin#show greeting_message Command: show greeting_message ================================================================================ DGS-1510-28XMP/ME Gigabit Ethernet Switch Command Line Interface Firmware: Build 1.00.018 Copyright(C) 2015 D-Link Corporation. All rights reserved.
Page 22
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# config command_prompt Prompt# Command: config command_prompt Prompt# Success. Prompt#:admin# 2-15 config terminal width Description The command is used to set current terminal width. The usage is described as below: 1. Users login and configure the terminal width to 120, this configuration take effect on this login section. If users implement “save”...
Page 23
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Format show terminal width Parameters None. Restrictions None. Example To display the configuration of current terminal width: DGS-1510-28XMP/ME:admin# show terminal width Command: show terminal width Global terminal width : 80 Current terminal width...
Page 24
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide slave - Specifies that the port(s) will be set to slave. 10g_full - Specifies the port speed to 10g_full. flow_control - (Optional) Specifies to turn on or turn off flow control on one or more ports.
Page 25
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Parameters ports - Specifies a range of ports to be displayed. <portlist> - (Optional) Enter the list of ports to be configured here. description - (Optional) Specifies to indicate if port description will be included in the display .
Page 27
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Restrictions Only Administrators, Operators and Power-Users can issue this command. Example To create a VLAN with name “v2” and VLAN ID 2: DGS-1510-28XMP/ME:admin# create vlan v2 tag 2 type 1q_vlan advertisement Command: create vlan v2 tag 2 type 1q_vlan advertisement Success.
Page 28
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide delete vlan Description This command is used to delete a previously configured VLAN by the name on the Switch. Format delete vlan <vlan_name 32> Parameters vlan - Specifies the VLAN name of the VLAN to be deleted.
Page 29
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Example To remove VLANs from 10-30: DGS-1510-28XMP/ME:admin# delete vlan vlanid 10-30 Command: delete vlan vlanid 10-30 Success. DGS-1510-28XMP/ME:admin# config vlan Description This command is used to configure a VLAN based on the name.
Page 30
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide config vlan vlanid Description This command allows you to configure multiple VLANs at one time. But conflicts will be generated if you configure the name of multiple VLANs at one time. Format config vlan vlanid <vidlist>...
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Parameters <portlist> - Enter a range of ports for which you want ingress checking. The port list is specified by listing the beginning port number on the Switch, separated by a colon. Then highest port number of the range (also separated by a colon) are specified.
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Restrictions None. Example To display VLAN settings: DGS-1510-28XMP/ME:admin# show vlan Command: show vlan VLAN Trunk State : Enabled VLAN Trunk Member Ports : 1-5 VLAN Name : default VLAN Type : Static...
Page 33
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Example To display the VLAN configuration for port 6: DGS-1510-28XMP/ME:admin# show vlan ports 6 Command: show vlan ports 6 Port Untagged Tagged Dynamic Forbidden ----- ---- -------- ------ ------- --------- DGS-1510-28XMP/ME:admin# 3-10...
Page 34
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# show vlan vlanid 1 Command: show vlan vlanid 1 VLAN Name : default VLAN Type : Static Advertisement : Enabled Member Ports : 1-28 Static Ports : 1-28 Current Tagged Ports...
Page 35
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# show port_vlan Command: show port_vlan Port PVID GVRP Ingress Checking Acceptable Frame Type ------- ---- -------- ---------------- --------------------------- Enabled Enabled Only VLAN-tagged Frames Enabled Enabled Only VLAN-tagged Frames Enabled Enabled Only VLAN-tagged Frames...
Page 36
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# enable pvid auto_assign Command: enable pvid auto_assign Success. DGS-1510-28XMP/ME:admin# 3-13 disable pvid auto assign Description This command is used to disable auto assignment of PVID. Format disable pvid auto_assign Parameters None.
Page 37
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Example To display PVID auto-assignment state: DGS-1510-28XMP/ME:admin# show pvid auto_assign Command: show pvid auto_assign PVID Auto-assignment: Enabled DGS-1510-28XMP/ME:admin# 3-15 config gvrp Description This command is used to configure the GVRP timer’s value. The default value for Join time is 200 milliseconds; for Leave time is 600 milliseconds;...
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# config gvrp timer join 200 Command: config gvrp timer join 200 Success. DGS-1510-28XMP/ME:admin# 3-16 show gvrp Description This command is used to display the GVRP global setting. Format show gvrp Parameters None.
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Restrictions Only Administrators, Operators and Power-Users can issue this command. Example To enable the generic VLAN Registration Protocol (GVRP): DGS-1510-28XMP/ME:admin# enable gvrp Command: enable gvrp Success. DGS-1510-28XMP/ME:admin# 3-18 disable gvrp Description This command is used to disable the Generic VLAN Registration Protocol (GVRP).
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Example To enable the 802.1X function: DGS-1510-28XMP/ME:admin# enable 802.1x Command: enable 802.1x Success. DGS-1510-28XMP/ME:admin# disable 802.1x Description This command is used to disable the 802.1X function. Format disable 802.1x Parameters None. Restrictions Only Administrators, Operators and Power-Users can issue this command.
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Parameters <username 15> - Enter the username to be added. This value can be up to 15 characters long. Restrictions Only Administrators, Operators and Power-Users can issue this command. Example To create a 802.1x user “test”: DGS-1510-28XMP/ME:admin# create 802.1x user test...
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide show 802.1x user Description This command is used to display the 802.1X user. Format show 802.1x user Parameters None. Restrictions None. Example To display the 802.1X user information: DGS-1510-28XMP/ME:admin# show 802.1x user Command: show 802.1x user...
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Example To configure the 802.1X authentication protocol to RADIUS EAP: DGS-1510-28XMP/ME:admin# config 802.1x auth_protocol radius_eap Command: config 802.1x auth_protocol radius_eap Success. DGS-1510-28XMP/ME:admin# config 802.1x fwd_pdu system Description This command is used to globally control the forwarding of EAPOL PDU. When 802.1X functionality is disabled globally or for a port, and if 802.1X fwd_pdu is enabled both globally and for the port, a received EAPOL packet on...
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Format config 802.1x fwd_pdu ports [<portlist> | all] [enable | disable] Parameters <portlist> - Enter the list of ports used for the configuration. all - Specifies that all the ports will be used.
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# config 802.1x authorization attributes radius disable Command: config 802.1x authorization attributes radius disable Success. DGS-1510-28XMP/ME:admin# 4-10 show 802.1x Description This command is used to display the 802.1X state or configurations. If no parameter is specified, the 802.1X system configurations will be displayed.
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# show 802.1x auth_configuration ports 1 Command: show 802.1x auth_configuration ports 1 Port Number Capability : None AdminCrlDir : Both OpenCrlDir : Both Port Control : Auto QuietPeriod : 60 TxPeriod : 30...
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# config 802.1x capability ports 1-10 authenticator Command: config 802.1x capability ports 1-10 authenticator Success. DGS-1510-28XMP/ME:admin# 4-12 config 802.1x max_users Description This command is used to limit the maximum number of users that can be learned via 802.1X authentication. In addition to the global limitation, maximum user for per port is also limited.
Page 49
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Parameters <portlist> - Enter the list of ports used for the configuration here. all - Specifies that all the ports will be used. default - Specifies that all parameter to be default value.
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# config 802.1x auth_parameter ports 1-20 direction both Command: config 802.1x auth_parameter ports 1-20 direction both Success. DGS-1510-28XMP/ME:admin# 4-14 config 802.1x auth_mode Description This command is used to configure 802.1X authentication mode.
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide <portlist> - Enter the list of ports used for the configuration here. all - Specifies that all ports will be used. mac_based ports - Specifies to configure the authentication as MAC-based mode.
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Example To re-authenticate the device connected to the port: DGS-1510-28XMP/ME:admin# config 802.1x reauth port_based ports all Command: config 802.1x reauth port_based ports all Success. DGS-1510-28XMP/ME:admin# 4-17 create 802.1x guest_vlan Description This command is used to assign a static VLAN to be guest VLAN. The specific VLAN which assigned to guest VLAN must be existed.
Page 53
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Parameters <vlan_name 32> - (Optional) Enter the VLAN name here. The VLAN name can be up to 32 characters long. Restrictions Only Administrators, Operators and Power-Users can issue this command. Example To delete the guest VLAN named “guestVLAN”: DGS-1510-28XMP/ME:admin# delete 802.1x guest_vlan guestVLAN...
Page 54
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# config 802.1x guest_vlan ports 2-8 state enable Command: config 802.1x guest_vlan ports 2-8 state enable Warning, The ports are moved to Guest VLAN. Success. DGS-1510-28XMP/ME:admin# 4-20 show 802.1x guest_vlan Description This command is used to show the information of guest VLANs.
Page 56
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide enable password encryption Description This command is used to enable password encryption. The user account configuration information will be stored in the configuration file, and can be applied to the system later.
Page 57
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Example To disable the password encryption: DGS-1510-28XMP/ME:admin# disable password encryption Command: disable password encryption Success. DGS-1510-28XMP/ME:admin# enable authen_policy Description This command is used to enable system access authentication policy. Enable system access authentication policy. When authentication is enabled, the device will adopt the login authentication method list to authenticate the user for login, and adopt the enable authentication method list to authenticate the enable password for promoting the user‘s privilege to Admin level.
Page 58
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Format disable authen_policy Parameters None. Restrictions Only Administrators can issue this command. Example To disable system access authentication policy: DGS-1510-28XMP/ME:admin# disable authen_policy Command: disable authen_policy Success. DGS-1510-28XMP/ME:admin# show authen_policy Description This command is used to display that system access authentication policy is enabled or disabled.
Page 59
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide create authen_login Description This command is used to create a user-defined method list of authentication methods for user login. The maximum supported number of the login method lists is 8. Format create authen_login method_list_name <string 15>...
Page 60
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide method_list_name - Specifies the user-defined method list of authentication methods. <string 15> - Enter the method list name here. This value can be up to 15 characters long. method - Specifies the authentication method used.
Page 61
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# delete authen_login method_list_name login_list_1 Command: delete authen_login method_list_name login_list_1 Success. DGS-1510-28XMP/ME:admin# show authen_login Description This command is used to display the method list of authentication methods for user login. Format show authen_login [default | method_list_name <string 15> | all] Parameters default - Specifies to display default user-defined method list for user login.
Page 62
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Format create authen_enable method_list_name <string 15> Parameters <string 15> - Enter the user-defined method list name. This value can be up to 15 characters long. Restrictions Only Administrators can issue this command.
Page 63
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide local_enable - (Optional) Specifies authentication by local enable password in device. none - (Optional) Specifies that there is no authentication. Restrictions Only Administrators can issue this command. Example To configure a user-defined method list for promoting user's privilege to Admin level:...
Page 64
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide 5-13 show authen_enable Description This command is used to display the method list of authentication methods for promoting user's privilege to Admin level. Format show authen_enable [default | method_list_name <string 15> | all] Parameters default - Specifies to display default user-defined method list for promoting user's privilege to Admin level.
Page 65
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide telnet - Specifies the application as telnet. ssh - Specifies the application as SSH. http - Specifies the application as web. all - Specifies the application as console, telnet, SSH, and web.
Page 66
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# show authen application Command: show authen application Application Login Method List Enable Method List ----------- ----------------- ------------------ Console default default Telnet login_list_1 default default default HTTP default default DGS-1510-28XMP/ME:admin# 5-16 create authen server_group Description This command is used to create a user-defined authentication server group.
Page 67
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Format config authen server_group [tacacs | xtacacs | tacacs+ | radius | <string 15>] [add | delete] server_host <ipaddr> protocol [tacacs | xtacacs | tacacs+ | radius] Parameters tacacs - Specifies to configure built-in server group TACACS.
Page 68
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Parameters <string 15> - Enter the user-defined server group name. This value can be up to 15 characters long. Restrictions Only Administrators can issue this command. Example To delete a user-defined authentication server group:...
Page 69
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# show authen server_group Command: show authen server_group Group Name IP Address Protocol --------------- --------------- -------- mix_1 10.1.1.222 TACACS+ 10.1.1.223 TACACS radius 10.1.1.224 RADIUS tacacs 10.1.1.225 TACACS tacacs+ 10.1.1.226 TACACS+ xtacacs 10.1.1.227...
Page 70
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Restrictions Only Administrators can issue this command. Example To create a TACACS+ authentication server host, its listening port number is 15555 and timeout value is 10 seconds: DGS-1510-28XMP/ME:admin# create authen server_host 10.1.1.222 protocol tacacs+ port 15555 timeout 10 Command: create authen server_host 10.1.1.222 protocol tacacs+ port 15555 timeout 10...
Page 71
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Restrictions Only Administrators can issue this command. Example To configure a TACACS+ authentication server host’s key value: DGS-1510-28XMP/ME:admin# config authen server_host 10.1.1.222 protocol tacacs+ key "This is a secret." Command: config authen server_host 10.1.1.222 protocol tacacs+ key "This is a secret."...
Page 72
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide 5-23 show authen server_host Description This command is used to display the authentication server hosts. Format show authen server_host Parameters None. Restrictions Only Administrators can issue this command. Example To display all authentication server hosts:...
Page 73
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Example To configure the amount of time waiting or user input to be 60 seconds: DGS-1510-28XMP/ME:admin# config authen parameter response_timeout 60 Command: config authen parameter response_timeout 60 Success. DGS-1510-28XMP/ME:admin# 5-25 config authen parameter attempt...
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Parameters None. Restrictions Only Administrators can issue this command. Example To display the parameters of authentication: DGS-1510-28XMP/ME:admin# show authen parameter Command: show authen parameter Response Timeout : 60 seconds User Attempts DGS-1510-28XMP/ME:admin#...
Page 75
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:puser# enable admin Command: enable admin PassWord:****** Success. DGS-1510-28XMP/ME:admin# 5-28 config admin local_enable Description This command is used to configure the local enable password of administrator level privilege. When the user chooses the “local_enable” method to promote the privilege level, the enable password of local device is needed.
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Chapter 6 Access Control List (ACL) Command List create access_profile profile_id <value 1-512> {profile_name <name 32>} [ethernet{vlan {<hex 0x0-0x0fff>} | source_mac <macmask 000000000000-ffffffffffff> | destination_mac <macmask 000000000000-ffffffffffff> | 802.1p | ethernet_type}|ip {vlan {<hex 0x0-0x0fff>} | source_ip_mask <netmask> | destination_ip_mask <netmask>...
Page 77
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide create access_profile Description This command is used to create access control list profiles. When creating ACL, each profile can have 128 rules/access IDs. However, when creating ACL type as Ethernet or IPv4 at the first time, 62 rules are reserved for the system. In this case, only 66 rules are available to configure.
Page 78
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide ethernet_type - (Optional) Specifies the Ethernet type mask. ip - Specifies this is a IPv4 mask. vlan - (Optional) Specifies a VLAN mask. Only the last 12 bits of the mask will be considered.
Page 79
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide <hex 0x0-0xffffffff> - Enter the offset chunk 4 mask here. ipv6 - Specifies this is the IPv6 mask. class - (Optional) Specifies the IPv6 class. flowlabel - (Optional) Specifies the IPv6 flow label.
Page 80
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide delete access_profile Description This command is used to delete access list profiles. ACL profile ID 1 and 2 cannot be deleted. When this command is issued for profile ID 1 and 2, all the settings within these profiles will be removed. When this command is issued for profile ID 3 and more, the complete profile will be deleted entirely.
Page 82
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide <netmask> - Enter the source netmask used here. destination_ip - (Optional) Specifies an IP destination address. <ipaddr> - Enter the destination IP address used for this configuration here. mask - (Optional) Specifies an additional mask parameter that can be configured.
Page 83
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide field. offset_chunk_1 – (Optional) Specifies the value of the packet bytes to be matched. Offset chunk 1 will be used. <hex 0x0-0xffffffff> - Enter the offset chunk 1 mask here. offset_chunk_2 - (Optional) Specifies the value of the packet bytes to be matched. Offset chunk 2 will be used.
Page 84
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide port - Specifies the port list used for this configuration. <portlist> - Enter a list of ports used for the configuration here. all - Specifies that all the ports will be used for this configuration.
Page 85
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide show access_profile Description This command is used to display the current access list table. Format show access_profile {[profile_id <value 1-512> | profile_name <name 32>]} Parameters profile_id - (Optional) Specifies the index of the access list profile.
Page 86
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin#show access_profile profile_id 1 Command: show access_profile profile_id 1 Access Profile Table ================================================================================ Profile ID: 1 Profile name: t1 Type: Ethernet MASK on VLAN : 0xFFF Source MAC : 00-00-00-00-00-01 Destination MAC : 00-00-00-00-00-02 802.1p...
Page 87
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide config flow_meter Description This command is used to configure the flow-based metering function. The metering function supports three modes: single rate two color, single rate three color, and two rate three color. The access rule must be created before the parameters of this function can be applied.
Page 88
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide cir - Specifies the Committed Information Rate. The unit is in Kbps. CIR should always be equal or less than PIR. <value 1-10485760> - Enter the CIR value here. This value must be between 1 and 10485760.
Page 89
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide conform - (Optional) Specifies the action when a packet is mapped to the “green” color. permit - Permits the packet. replace_dscp - Specifies to change the DSCP of the packet. <value 0-63> - Enter the replace DSCP value here. This value must be between 0 and 63.
Page 90
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Format show flow_meter {[profile_id <value 1-512> | profile_name <name 32>] {access_id <value 1- 128>}} Parameters profile_id - (Optional) Specifies the profile ID. <value 1-512> - Enter the profile ID used here. This value must be between 1 and 512.
Page 91
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide hours - Specifies the time of a day. start_time - Specifies the starting time of a day. <time hh:mm:ss> - Enter the starting time here. (24-hr time). For example, 19:00 means 7PM. 19 is also acceptable.
Page 92
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# show time_range Command: show time_range Time Range Information ----------------------------- Range Name Weekdays : Mon Start Time : 01:01:01 End Time : 02:01:01 Total Entries :1 DGS-1510-28XMP/ME:admin# show current_config access_profile Description This command is used to display the ACL part of the current configuration, when logged in with user level privileges.
Page 93
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# show current_config access_profile Command: show current_config access_profile #------------------------------------------------------------------- # ACL create access_profile ethernet vlan profile_id 1 config access_profile profile_id 1 add access_id 1 ethernet vlan default port 1 permit create access_profile ip source_ip_mask 255.255.255.255 profile_id 2 config access_profile profile_id 2 add access_id 1 ip source_ip 10.10.10.10 port 2 deny...
Page 94
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin#show access_profile hw_info Command: show access_profile hw_info Slice ID/ Priority Profile ID Owner Number of Rules ========== =========== ======================== =================== 1/4094 System -------------------------------------------------------- Used Available ------------------------------------------------------------------- 2/4093 System -------------------------------------------------------- Used Available -------------------------------------------------------------------...
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Chapter 7 Address Resolution Protocol (ARP) Command List create arpentry <ipaddr> <macaddr> delete arpentry [<ipaddr> | all] config arpentry <ipaddr> <macaddr> config arp_aging time <value 0-65535> clear arptable show arpentry {ipif <ipif_name 12> | ipaddress <ipaddr> | static | mac_address <macaddr>}...
Page 96
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Format delete arpentry [<ipaddr> | all] Parameters <ipaddr> - The IP address of the end node or station. all - Delete all ARP entries. Restrictions Only Administrators, Operators and Power-Users can issue this command.
Page 97
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# config arpentry 10.48.74.121 00-50-BA-00-07-37 Command: config arpentry 10.48.74.121 00-50-BA-00-07-37 Success. DGS-1510-28XMP/ME:admin# config arp_aging time Description This command is used to set the maximum amount of time, in minutes, that a dynamic ARP entry can remain in the Switch’s ARP table, without being accessed, before it is dropped from the table.
Page 98
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Restrictions Only Administrators, Operators and Power-Users can issue this command. Example To clear the ARP table: DGS-1510-28XMP/ME:admin# clear arptable Command: clear arptable Success. DGS-1510-28XMP/ME:admin# show arpentry Description This command is used to displays the ARP table. You can filter the display by IP address, MAC address, Interface name, or static entries.
Page 99
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# show arpentry Command: show arpentry ARP Aging Time : 20 Interface IP Address MAC Address Type ------------- --------------- ----------------- --------------- System 10.0.0.0 FF-FF-FF-FF-FF-FF Local/Broadcast System 10.1.1.1 00-02-03-04-05-06 Static System 10.1.1.2 00-02-03-04-05-06...
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Chapter 8 ARP Spoofing Prevention Command List config arp_spoofing_prevention [add gateway_ip <ipaddr> gateway_mac <macaddr> ports [<portlist> | all] | delete gateway_ip <ipaddr>] show arp_spoofing_prevention config arp_spoofing_prevention Description This command is used to configure the spoofing prevention entry to prevent spoofing of MAC for the protected gateway.
Page 101
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# config arp_spoofing_prevention add gateway_ip 10.254.254.251 gateway_mac 00-00-00-11-11-11 ports 1-2 Command: config arp_spoofing_prevention add gateway_ip 10.254.254.251 gateway_ma c 00-00-00-11-11-11 ports 1-2 Success. DGS-1510-28XMP/ME:admin# show arp_spoofing_prevention Description This command is used to show the ARP spoofing prevention entry.
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Chapter 9 Auto-Configuration Command List enable autoconfig disable autoconfig show autoconfig config autoconfig timeout <value 1-65535> enable autoconfig Description This command is used to enable auto-configuration. When enabled, during power on initialization, the Switch will get configure file path name and TFTP server IP address from the DHCP server.
Page 103
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Parameters None. Restrictions Only Administrators and Operators can issue this command. Example To disable auto-configuration: DGS-1510-28XMP/ME:admin# disable autoconfig Command: disable autoconfig Success. DGS-1510-28XMP/ME:admin# show autoconfig Description This command is used to display if the auto-configuration is enabled or disabled.
Page 104
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide config autoconfig timeout Description This command is used to configure the timeout value. This timer is used to limit the length of time in getting configuration settings from the network. When timeout occurs, the auto configuration operation will be stopped and the local configuration file will be used to configure the system.
Page 106
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide user - Specifies the name of the user account. <username 15> - Enter the username used here. This name can be up to 15 characters long. encrypt - (Optional) Specifies the encryption applied to the account.
Page 107
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Parameters <username> - Enter the user name of the account that has been defined. encrypt - (Optional) Specifies that the password will be encrypted. plain_text - Specifies the password in plain text form.
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Parameters None. Restrictions Only Administrators can issue this command. Example To display the accounts that have been created: DGS-1510-28XMP/ME:admin# show account Command: show account Current Accounts: Username Access Level --------------- ------------ admin...
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# delete account System Command: delete account System Success. DGS-1510-28XMP/ME:admin# 10-5 show switch Description This command is used to display the Switch information. Format show switch Parameters None. Restrictions None. Example To display of the Switch information:...
Page 110
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin#show switch Command: show switch Device Type : DGS-1510-28XMP/ME Gigabit Ethernet Switch MAC Address : 00-01-02-03-04-00 IP Address : 10.90.90.90 (Manual) VLAN Name : default Subnet Mask : 255.0.0.0 Default Gateway : 0.0.0.0 Boot PROM Version : Build 1.00.001...
Page 111
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# enable telnet 23 Command: enable telnet 23 Success. DGS-1510-28XMP/ME:admin# 10-7 disable telnet Description This command is used to disable TELNET. Format disable telnet Parameters None. Restrictions Only Administrators and Operators can issue this command.
Page 112
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Restrictions Only Administrators and Operators can issue this command. Example To enable HTTP and configure port number: DGS-1510-28XMP/ME:admin# enable web 80 Command: enable web 80 Note: SSL will be disabled if web is enabled.
Page 113
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Parameters force_agree - (Optional) Specifies to immediately reboot the Switch without further confirmation. Restrictions Only Administrators can issue this command. Example To reboot the Switch: DGS-1510-28XMP/ME:admin# reboot Command: reboot Are you sure to proceed with the system reboot?(y/n) Please wait, the switch is rebooting…...
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# reset system Command: reset system Are you sure you want to proceed with system reset?(y/n) y-(reset all include configuration, save, reboot ) n-(cancel command) y Reboot & Load Factory Default Configuration...
Page 115
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Parameters <ipif_name 12> - Enter the IP interface name here. This name can be up to 12 characters long. <network_address> - Specifies the IPv4 network address (xx.xx.xx.xx/xx). It specifies a host address and length of network mask.
Page 116
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide dhcp - Specifies to use DHCP to obtain the IPv4 address. ipv6 - Specifies that the IPv6 configuration will be done. ipv6address - Specifies the IPv6 network address. The address should specify a host address and length of network prefix.
Page 117
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Parameters <ipif_name 12> - Enter the IP interface name used here. This name can be up to 12 characters long. ipv6address – (Optional) Specifies the IPv6 network address. The address should specify a host address and length of network prefix.
Page 118
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide 10-17 disable ipif Description This command is used to disable an IP interface. Format disable ipif [<ipif_name 12> | all] Parameters <ipif_name 12> - Enter the IP interface name used here. This name can be up to 12 characters long.
Page 119
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# show ipif Command: show ipif IP Interface : System VLAN Name : default Interface Admin State : Enabled Link Status : LinkUp IPv4 Address : 10.90.90.90/8 (Manual) IPv4 State : Enabled...
Page 120
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide 10-20 disable ipif_ipv6_link_local_auto Description This command is used to disable the auto configuration of link local address when no IPv6 address are configured. Format disable ipif_ipv6_link_local_auto [<ipif_name 12> | all] Parameters <ipif_name 12> - Enter the IP interface name used here. This name can be up to 12 characters long.
Page 121
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# show ipif_ipv6_link_local_auto Command: show ipif_ipv6_link_local_auto IPIF: System Automatic Link Local Address: Disabled DGS-1510-28XMP/ME:admin#...
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Chapter 11 BPDU Attack Protection Command List config bpdu_protection ports [<portlist> | all ] {state [enable | disable] | mode [ drop | block | shutdown} (1) config bpdu_protection recovery_timer [<sec 60-1000000> | infinite]...
Page 123
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# config bpdu_protection ports 1 state enable mode drop Commands: config bpdu_protection ports 1 state enable mode drop Success. DGS-1510-28XMP/ME:admin# 11-2 config bpdu_protection recovery_timer Description This command is used to configure BPDU protection recovery timer. When a port enters the ‘under attack’ state, it can be disabled or blocked based on the configuration.
Page 124
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide log - Specifies the log state. none - Specifies that neither attack_detected nor attack_cleared is trapped or logged. attack_detected - Specifies that events will be logged or trapped when the BPDU attacks is detected.
Page 125
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide 11-5 disable bpdu_protection Description This command is used to disable BPDU protection function globally for the Switch. Format disable bpdu_protection Parameters None. Restrictions Only Administrators, Operators and Power-Users can issue this command.
Page 126
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# show bpdu_protection Commands: show bpdu_protection BPDU Protection Global Settings --------------------------------------- BPDU Protection status : Enabled BPDU Protection Recovery Time : 60 seconds BPDU Protection Trap State : None BPDU Protection Log State...
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Chapter 12 Cable Diagnostics Command List cable_diag ports [<portlist> | all] 12-1 cable_diag ports Description This command is used to configure cable diagnostics on ports. For FE port, two pairs of cable will be diagnosed.
Page 128
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide • Where the link partner is powered on with no errors and the link is up, this command can detect the cable length • Where the link partner is powered on with errors, this command can detect whether the error is open, short, or crosstalk.
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Chapter 13 Command Logging Command List enable command logging disable command logging show command logging 13-1 enable command logging Description This command is used to enable the command logging function. This is disabled by default.
Page 130
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Parameters None. Restrictions Only Administrators can issue this command. Example To disable the command logging: DGS-1510-28XMP/ME:admin# disable command logging Command: disable command logging Success. DGS-1510-28XMP/ME:admin# 13-3 show command logging Description This command is used to display the Switch’s general command logging configuration status.
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Chapter 14 Compound Authentication Command List enable authorization attributes disable authorization attributes show authorization config authentication server failover [local | permit | block] show authentication 14-1 enable authorization attributes Description This command is used to enable authorization.
Page 132
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Parameters None. Restrictions Only Administrators, Operators and Power-Users can issue this command. Example This example sets authorization global state disabled: DGS-1510-28XMP/ME:admin# disable authorization attributes Command: disable authorization attributes Success. DGS-1510-28XMP/ME:admin# 14-3 show authorization Description This command is used to display authorization status.
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Format config authentication server failover [local | permit | block] Parameters local - Specifies to use local DB to authenticate the client. permit - Specifies that the client is always regarded as authenticated.
Page 134
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# show authentication Command: show authentication Authentication Server Failover: Local. DGS-1510-28XMP/ME:admin#...
Page 136
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide file - Specifies to display the configuration file. <pathname 64> - Enter an absolute pathname on the device file system. If pathname is not specified, the boot up configuration is implied. This name can be up to 64 characters long.
Page 137
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin#show config modified Command: show config modified #------------------------------------------------------------------------------- DGS-1510-28XMP/ME Gigabit Ethernet Switch Configuration Firmware: Build 1.00.018 Copyright(C) 2015 D-Link Corporation. All rights reserved. #------------------------------------------------------------------------------- # DEVICE # BASIC # ACCOUNT LIST # ACCOUNT END...
Page 138
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# config configuration config.cfg boot_up Command: config configuration config.cfg boot_up Success. DGS-1510-28XMP/ME:admin# 15-3 save Description This command is used to save the current configuration to a file. Format save {[config <pathname 64> | log | all]} Parameters config - (Optional) Specifies to save the configuration to a file.
Page 139
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Restrictions None. Example To display the boot file: DGS-1510-28XMP/ME:admin# show boot_file Command: show boot_file Bootup Firmware : /c:/runtime.had Bootup Configuration : /c:/config.cfg DGS-1510-28XMP/ME:admin#...
Page 141
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide clear cfm pkt_cnt {[ports <portlist> {[rx | tx]} | [rx | tx] | ccm]} 16-1 create cfm md Description This command is used to create a maintenance domain. Format create cfm md <string 22> {md_index <uint 1-4294967295>} level <int 0-7>...
Page 142
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Parameters <string 22> - Enter the maintenance domain name. This name can be up to 22 characters long. md_index - Specifies the maintenance domain index. <uint 1-4294967295> - Enter the maintenance domain index value here. This value must be between 1 and 4294967295.
Page 143
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide and 4294967295. md - Specifies the maintenance domain name. <string 22> - Enter the maintenance domain name here. This name can be up to 22 characters long. md_index - Specifies the maintenance domain index.
Page 144
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide none - Specifies not to create MIPs. auto - Specifies that MIPs can always be created on any ports in this MA, if that port is not configured with an MEP of that MA.
Page 145
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Format create cfm mep <string 32> mepid <int 1-8191> md [<string 22> | md_index <uint 1-4294967295>] ma [<string 22> | ma_index <uint 1-4294967295>] direction [inward | outward] port <port> Parameters <string 32> - Enter the MEP name used. It is unique among all MEPs configured on the device. This name can be up to 32 characters long.
Page 146
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide • Error CCM Received: priority 4 • Some Remote MEPs Down: priority 3 • Some Remote MEP MAC Status Errors: priority 2 • Some Remote MEP Defect Indications: priority 1 If multiple types of the fault occur on an MEP, only the fault with the highest priority will be alarmed.
Page 147
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide none - Specifies that no fault alarm is sent. This is the default value. alarm_time - (Optional) Specifies the time that a defect must exceed before the fault alarm can be sent. The unit is centisecond.
Page 148
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide between 1 and 4294967295. Restrictions Only Administrators, Operators and Power-Users can issue this command. Example To delete a CFM MEP: DGS-1510-28XMP/ME:admin# delete cfm mep mepname mep1 Command: delete cfm mep mepname mep1 Success.
Page 149
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# delete cfm ma op1 md op_domain Command: delete cfm ma op1 md op_domain Success. DGS-1510-28XMP/ME:admin# 16-9 delete cfm md Description This command is used to delete a previously created maintenance domain. All the MEPs and maintenance associations created in the maintenance domain will be deleted automatically.
Page 150
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Parameters None. Restrictions Only Administrators, Operators and Power-Users can issue this command. Example To enable the CFM globally: DGS-1510-28XMP/ME:admin# enable cfm Command: enable cfm Success. DGS-1510-28XMP/ME:admin# 16-11 disable cfm Description This command is used to disable the CFM globally.
Page 151
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide If the CFM is disabled on a port: 1. MIPs are never created on that port. 2. MEPs can still be created on that port, and the configuration can be saved. 3. MEPs created on that port can never generate or process CFM PDUs. If the user issues a Loopback or Link trace test on those MEPs, it will prompt the user to inform them that the CFM function is disabled on that port.
Page 152
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Example To show the CFM ports: DGS-1510-28XMP/ME:admin# show cfm ports 3-6 Command: show cfm ports 3-6 Port State ----- -------- Enabled Enabled Enabled Disabled DGS-1510-28XMP/ME:admin# 16-14 show cfm Description This command is used to show the CFM configuration.
Page 153
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# show cfm Command: show cfm CFM State: Enabled MD Index MD Name Level ---------- ---------------------- ----- op_domain DGS-1510-28XMP/ME:admin# show cfm md op_domain Command: show cfm md op_domain MD Index MD Name...
Page 154
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Cross-connect CCMs : 0 received Error CCMs : 0 received Normal CCMs : 0 received Port Status CCMs : 0 received If Status CCMs : 0 received CCMs transmitted In-order LBRs : 0 received...
Page 155
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# show cfm fault Command: show cfm fault MD Name MA Name MEPID Status ----------- ----------- ----- --------------------------------- op_domain Cross-connect CCM Received DGS-1510-28XMP/ME:admin# 16-16 show cfm port Description This command is used to show MEPs and MIPs created on a port.
Page 156
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide 16-17 cfm loopback Description This command is used to start a CFM loopback test. You can press Ctrl+C to exit the loopback test. The MAC address represents the destination MEP or MIP that can be reached by this MAC address. The MEP represents the source MEP to initiate the loopback message.
Page 157
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# cfm loopback 32-00-70-89-31-06 mepname mep1 Command: cfm loopback 32-00-70-89-31-06 mepname mep1 Reply from 32-00-70-89-31-06: bytes=0 time=50ms Reply from 32-00-70-89-31-06: bytes=0 time=50ms Reply from 32-00-70-89-31-06: bytes=0 time=50ms Reply from 32-00-70-89-31-06: bytes=0 time=50ms CFM loopback statistics for 32-00-70-89-31-06: Packets: Sent=4, Received=4, Lost=0(0% loss).
Page 158
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Example To transmit an LTM: DGS-1510-28XMP/ME:admin# cfm linktrace 00-01-02-03-04-05 mepname mep1 Command: cfm linktrace 00-01-02-03-04-05 mepname mep1 Transaction ID: 26 Success. DGS-1510-28XMP/ME:admin# 16-19 show cfm linktrace Description This command is used to show the link trace responses. The maximum link trace responses a device can hold is 128.
Page 159
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# show cfm linktrace mepname mep1 trans_id 26 Command: show cfm linktrace mepname mep1 trans_id 26 Transaction ID: 26 From MEP mep1 to 32-00-70-89-31-06 Start Time : 2011-11-22 16:05:08 MEPID Ingress MAC Address...
Page 160
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide ma_index - Specifies the maintenance association index. <uint 1-4294967295> - Enter the maintenance association index value here. This value must be between 1 and 4294967295. mepid - (Optional) Specifies the MEP ID used.
Page 161
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# show cfm mipccm Command: show cfm mipccm MAC Address Port ---------- ---- ----------------- ----- opma xx-xx-xx-xx-xx-xx opma xx-xx-xx-xx-xx-xx Total: 2 DGS-1510-28XMP/ME:admin# 16-22 config cfm mp_ltr_all Description This command is used to enable or disable the "all MPs reply LTRs" function.
Page 162
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Parameters None. Restrictions None. Example To show the configuration of the "all MPs reply LTRs" function: DGS-1510-28XMP/ME:admin# show cfm mp_ltr_all Command: show cfm mp_ltr_all All MPs reply LTRs: Disabled DGS-1510-28XMP/ME:admin# 16-24 show cfm remote_mep Description This command is used to show remote MEPs.
Page 163
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Example To show the CFM Remote MEP information: DGS-1510-28XMP/ME:admin# show cfm remote_mep mepname mep1 remote_mepid 2 Command: show cfm remote_mep mepname mep1 remote_mepid 2 Remote MEPID MAC Address : 00-11-22-33-44-02 Status : OK...
Page 164
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# show cfm pkt_cnt Command: show cfm pkt_cnt CFM RX Statistics ----------------------------------------------------------------------------- Port AllPkt VidDrop OpcoDrop ----- -------- -------- -------- -------- -------- -------- -------- -------- 2446 2434 2446 2434 CFM TX Statistics...
Page 165
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# show cfm pkt_cnt ccm Command: show cfm pkt_cnt ccm CCM RX counters: XCON = Cross-connect CCMs Error = Error CCMs Normal = Normal CCMs MEP Name Port Level Direction XCON Error...
Page 166
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Restrictions Only Administrators, Operators and Power-Users can issue this command. Example To clear the CFM packet’s RX/TX counters: DGS-1510-28XMP/ME:admin# clear cfm pkt_cnt Command: clear cfm pkt_cnt Success. DGS-1510-28XMP/ME:admin# clear cfm pkt_cnt ccm Command: clear cfm pkt_cnt ccm Success.
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Chapter 17 CPU Interface Filtering Command List create cpu access_profile profile_id <value 1-5> [ethernet {vlan | source_mac <macmask 000000000000- ffffffffffff> | destination_mac <macmask 000000000000-ffffffffffff> | 802.1p | ethernet_type} | ip {vlan | source_ip_mask <netmask>...
Page 168
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Parameters <value 1-5> - Enter the profile ID value here. This value must be between 1 and 5. ethernet - Specifies that the profile type will be Ethernet. vlan - (Optional) Specifies a VLAN mask.
Page 169
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide <hex 0x0-0xffffffff> - Enter the mask pattern offset of the frame between 0 and 15 here. offset_16-31 - (Optional) Specifies that the mask pattern offset of the frame will be between 16 and 31.
Page 170
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Parameters profile_id - Specifies the index of access list profile. <value 1-5> - Enter the profile ID value here. This value must be between 1 and 5. all - Specifies that al the access list profiles will be deleted.
Page 171
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide vlan_id - (Optional) Specifies the VLAN ID used. <vlanid 1-4094> - Enter the VLAN ID used here. source_mac - (Optional) Specifies the source MAC address. <macaddr> - Enter the source MAC address used for this configuration here.
Page 172
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide the first 4 bytes of the IP payload. <hex 0x0-0xffffffff> - Enter the user-defined IP protocol ID mask here. packet_content - Specifies the frame content pattern, there are 5 offsets in maximum could be configure. Each offset presents 16 bytes, the range of content of frame is 80 bytes(5 offsets) in the first eighty bytes of frame.
Page 173
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# config cpu access_profile profile_id 1 add access_id 1 ip vlan default source_ip 20.2.2.3 destination_ip 10.1.1.252 dscp 3 icmp type 11 code 32 port 1 deny Command: config cpu access_profile profile_id 1 add access_id 1 ip vlan default source_ip 20.2.2.3 destination_ip 10.1.1.252 dscp 3 icmp type 11 code 32 port 1...
Page 174
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Restrictions Only Administrators and Operators can issue this command. Example To disable cpu_interface_filtering: DGS-1510-28XMP/ME:admin# disable cpu_interface_filtering Command: disable cpu_interface_filtering Success. DGS-1510-28XMP/ME:admin# 17-6 show cpu access_profile Description This command is used to display current access list table.
Page 175
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# show cpu access_profile Command: show cpu access_profile CPU Interface Filtering State: Disabled CPU Interface Access Profile Table Total Unused Rule Entries : 500 Total Used Rule Entries ================================================================================ Profile ID: 1...
Page 178
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Format debug buffer [utilization | dump | clear | upload_toTFTP <ipaddr> <path_filename 64>] Parameters utilization - Specifies to display the debug buffer’s state. dump - Specifies to display the debug message in the debug buffer.
Page 179
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide 18-3 debug output Description This command is used to set a specified module’s debug message output to debug buffer or local console. If the user uses the command in a Telnet session, the error message also is output to the local console.
Page 180
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Restrictions Only Administrators can issue this command. Example To set the Switch to not need a reboot when a fatal error occurs: DGS-1510-28XMP/ME:admin# debug config error_reboot disable Command: debug config error_reboot disable Success.
Page 181
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Format debug show error_reboot state Parameters None. Restrictions Only Administrators can issue this command. Example To show the debug error reboot state: DGS-1510-28XMP/ME:admin# debug show error_reboot state Command: debug show error_reboot state...
Page 182
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# debug show status module MSTP Command: debug show status module MSTP Debug Global State : Enabled MSTP : Disabled DGS-1510-28XMP/ME:admin# To show the debug state: DGS-1510-28XMP/ME:admin# debug show status Command: debug show status...
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Chapter 19 DHCP Local Relay Command List config dhcp_local_relay vlan <vlan_name 32> state [enable | disable] config dhcp_local_relay vlan vlanid <vlan_id> state [enable | disable] config dhcp_local_relay option_82 circuit_id [default | vendor1] config dhcp_local_relay option_82 ports <portlist>...
Page 184
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide 19-2 config dhcp_local_relay vlan vlanid Description This command is used to enable or disable DHCP local relay function for specified VLAN ID. Format config dhcp_local_relay vlan vlanid <vlan_id> state [enable | disable] Parameters vlanid - Specifies the VLAN ID that the DHCP local relay function will be enabled.
Page 185
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Example To configure the circuit id of DHCP relay agent as default: DGS-1510-28XMP/ME:admin# config dhcp_local_relay option_82 circuit_id default Command: config dhcp_local_relay option_82 circuit_id default Success. DGS-1510-28XMP/ME:admin# 19-4 config dhcp_local_relay option_82 ports Description This command is used to configure the settings of the specified ports for the policy of the option 82.
Page 186
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Parameters default - Specifies to use the Switch’s system MAC address as the remote ID. user_define - Specifies to use the user-defined string as the remote ID. <desc 32> - Enter the maximum of 32 characters. Space is allowed in the string.
Page 187
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide 19-7 disable dhcp_local_relay Description This command is used to globally disable the DHCP local relay function on the Switch. Format disable dhcp_local_relay Parameters None. Restrictions Only Administrators, Operators and Power-Users can issue this command.
Page 188
Command: show dhcp_local_relay DHCP/BOOTP Local Relay Status : Disabled DHCP/BOOTP Local Relay VID List DHCP Relay Agent Information Option 82 Circuit ID : Default DHCP Relay Agent Information Option 82 Remote ID : D-Link L2Switch DGS-1510-28XMP/ME:admin# 19-9 show dhcp_local_relay option_82 ports Description This command is used to display the current DHCP local relay option 82 configuration of each port.
Page 190
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Restrictions Only Administrators, Operators and Power-Users can issue this command. Example To configure the DHCP relay hops and time parameters: DGS-1510-28XMP/ME:admin# config dhcp_relay hops 4 time 2 Command: config dhcp_relay hops 4 time 2 Success.
Page 191
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide interface level has higher priority. In this case, the DHCP server configured on the VLAN will not be used to forward the DHCP packets. Format config dhcp_relay add vlanid <vlan_id_list> <ipaddr> Parameters <vlan_id_list>...
Page 192
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide 20-4 config dhcp_relay delete Description This command is used to delete one of the IP destination addresses in the Switch’s relay table. Format config dhcp_relay delete ipif <ipif_name 12> <ipaddr> Parameters <ipif_name 12> - Enter the IP interface name used here. This name can be up to 12 characters long.
Page 193
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# config dhcp_relay delete vlanid 2-3 10.43.21.12 Command: config dhcp_relay delete vlanid 2-3 10.43.21.12 Success. DGS-1510-28XMP/ME:admin# 20-6 config dhcp_relay option_82 Description This command is used to configure the processing of DHCP 82 option for the DHCP relay function.
Page 195
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide 20-8 enable dhcp_relay Description This command is used to enable the DHCP relay function on the Switch. Format enable dhcp_relay Parameters None. Restrictions Only Administrators, Operators and Power-Users can issue this command.
Page 196
DHCP Relay Agent Information Option 82 Check : Disabled DHCP Relay Agent Information Option 82 Policy : Replace DHCP Relay Agent Information Option 82 Circuit ID : Default DHCP Relay Agent Information Option 82 Remote ID : "D-Link L2 Switch" Interface Server 1 Server 2...
Page 197
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide 20-11 config dhcp_relay option_60 state Description This command is used to decide whether DHCP relay will process the DHCP option 60 or not. When option_60 is enabled, if the packet does not have option 60, then the relay servers cannot be determined based on option 60.
Page 198
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide <ipaddr> - Enter the IP address used for this configuration here. exact-match - Specifies that the option 60 string in the packet must full match with the specified string. partial-match - Specifies that the option 60 string in the packet only need partial match with the specified string.
Page 199
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# config dhcp_relay option_60 default mode drop Command: config dhcp_relay option_60 default mode drop Success. DGS-1510-28XMP/ME:admin# 20-14 config dhcp_relay option_60 delete Description This command is used to delete DHCP relay option 60 entry.
Page 200
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide 20-15 show dhcp_relay option_60 Description This command is used to show DHCP relay option 60 entry by the user specified. Format show dhcp_relay option_60 {[string <multiword 255> | ipaddress <ipaddr> | default]} Parameters string - (Optional) Specifies to display the entry that contains this string.
Page 201
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide If the relay servers are determined based on option 60 or option 61, then per IPIF configured servers will be ignored. If the relay servers are not determined either by option 60 or option 61, then per IPIF configured servers will be used to determine the relay servers.
Page 202
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide drop - Specifies to drop the packet. Restrictions Only Administrators, Operators and Power-Users can issue this command. Example To configure the DHCP relay option 61 function: DGS-1510-28XMP/ME:admin# config dhcp_relay option_61 add mac_address 00-11-22-33-44-55 drop...
Page 203
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide 20-19 config dhcp_relay option_61 delete Description This command is used to delete an option 61 rule. Format config dhcp_relay option_61 delete [mac_address <macaddr> | string <multiword 255> | all] Parameters mac_address - Specifies the entry with the specified MAC address will be deleted.
Page 204
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Example To display DHCP relay rulers for option 61: DGS-1510-28XMP/ME:admin# show dhcp_relay option_61 Command: show dhcp_relay option_61 Default Relay Rule:Drop Matching Rules: Client-ID Type Relay Rule ----------- ---- --------- 00-11-22-33-44-55 MAC Address...
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Chapter 21 DHCP Server Screening Command List config filter dhcp_server [add permit server_ip <ipaddr> ports [<portlist> | all] | delete permit server_ip <ipaddr> ports [<portlist> | all] | ports [<portlist> | all] state [enable | disable] | illegal_server_log_suppress_duration...
Page 206
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide state - Specifies the state of the DHCP server filtering. enable - Specifies to enable the DHCP server filtering. disable - Specifies to disable the DHCP server filtering. illegal_server_log_suppress_duration - Specifies the same illegal DHCP server IP address detected will be logged only once within the duration.
Page 207
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Restrictions None. Example To display the DHCP server/client filter list created on the Switch: DGS-1510-28XMP/ME:admin# show filter dhcp_server Command: show filter dhcp_server Enabled Ports: 1-10 Trap & Log State: Disabled Illegal Server Log Suppress Duration:5 minutes...
Page 209
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# config ddm trap enable Command: config ddm trap enable Success. DGS-1510-28XMP/ME:admin# 22-2 config ddm ports Description The command is used to configure the DDM settings of the specified ports. Format config ddm ports [<portlist> | all] [[temperature_threshold | voltage_threshold | bias_current_threshold | tx_power_threshold | rx_power_threshold] {high_alarm <float>...
Page 210
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide none - The port will never shutdown regardless if the threshold ranges are exceeded or not. Restrictions Only Administrators and Operators can issue this command. Example To configure the port 25’s temperature threshold: DGS-1510-28XMP/ME:admin# config ddm ports 25 temperature_threshold high_alarm 84.9532...
Page 211
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide To configure the port 25’s receive power threshold: DGS-1510-28XMP/ME:admin# config ddm ports 25 rx_power_threshold high_alarm 4.55 low_alarm 0.01 high_warning 3.5 low_warning 0.03 Command: config ddm ports 25 rx_power_threshold high_alarm 4.55 low_alarm 0.01 high_warning 3.5 low_warning 0.03...
Page 212
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide 22-4 show ddm ports Description This command is used to show the current operating DDM parameters and configuration values of the optic module of the specified ports. There are two types of thresholds: the administrative configuration and the operation configuration threshold.
Page 213
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# show ddm ports 25-26 status Command: show ddm ports 25-26 status Port Temperature Voltage Bias Current TX Power RX Power (in Celsius) (mA) (mW) (mW) ------- ------------- ---------- -------------- ---------- ------------...
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Chapter 23 D-Link Unidirectional Link Detection (DULD) Command List config duld ports [<portlist> | all ] {state [enable | disable] | mode [shutdown | normal] | discovery_time <sec 5- 65535>}(1) show duld ports {<portlist>}...
Page 215
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# config duld ports 1 state enable Command: config duld ports 1 state enable Success. DGS-1510-28XMP/ME:admin# 23-2 show duld ports Description This command is used to show unidirectional link detection information. Format show duld ports {<portlist>}...
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Chapter 24 DoS Attack Prevention Command List config dos_prevention dos_type [{land_attack | blat_attack | tcp_null_scan | tcp_xmasscan | tcp_synfin | tcp_syn_srcport_less_1024 | ping_death_attack | tcp_tiny_frag_attack} | all] {action [drop] | state [enable |...
Page 217
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Restrictions Only Administrators, Operators and Power-Users can issue this command. Example To configure land attack and blat attack prevention, the action is drop: DGS-1510-28XMP/ME:admin# config dos_prevention dos_type land_attack blat_attack action drop state enable Command: config dos_prevention dos_type land_attack blat_attack action drop state enable Success.
Page 218
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# show dos_prevention Command: show dos_prevention Trap:Disabled Log:Disabled Function Version : 1.01 DoS Type State Action Frame Counts -------------------------- -------- ---------------- ------------ Land Attack Enabled Drop Blat Attack Enabled Drop TCP Null Scan...
Page 219
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide 24-4 config dos_prevention log Description This command is used to enable or disable dos prevention log state. Format config dos_prevention log [enable | disable] Parameters enable - Specifies to enable DoS prevention log state.
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Chapter 25 Energy Efficient Ethernet (EEE) Command List config eee ports [<portlist> | all] state [enable | disable] show eee ports {<portlist>} 25-1 config eee ports Description This command is used to enable or disable the EEE function on the specified port(s) on the Switch.
Page 221
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Format show eee ports {<portlist>} Parameters <portlist> - (Optional) Specifies a list of ports to be displayed. Restrictions None. Example To display the EEE state: DGS-1510-28XMP/ME:admin#show eee ports 1-6,9 Command: show eee ports 1-6,9...
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Chapter 26 Ethernet Ring Protection Switching (ERPS) Command List enable erps disable erps create erps raps_vlan <vlanid> delete erps raps_vlan <vlanid> config erps raps_vlan <vlanid> [state [enable | disable] | ring_mel <value 0-7> | ring_port [west <port> | east <port>...
Page 223
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Example To enable ERPS: DGS-1510-28XMP/ME:admin# enable erps Command: enable erps Success. DGS-1510-28XMP/ME:admin# 26-2 disable erps Description This command is used to disable the global ERPS function on a switch. Format disable erps Parameters None.
Page 224
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Parameters <vlanid> - Enter the VLAN ID to be the R-APS VLAN. Restrictions Only Administrators, Operators and Power-Users can issue this command. Example To create an R-APS VLAN: DGS-1510-28XMP/ME:admin# create erps raps_vlan 4094 Command: create erps raps_vlan 4094 Success.
Page 225
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide 26-5 config erps raps_vlan Description This command is used to configure the ERPS R-APS VLAN settings. 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, the R-APS PDU is one of a suite of Ethernet OAM PDU.
Page 226
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide 2. The Ring port is the tagged member port of the R-APS VLAN. 3. The RPL port is specified if RPL owner is enabled. Format config erps raps_vlan <vlanid> [state [enable | disable] | ring_mel <value 0-7> | ring_port [west <port> | east <port>...
Page 227
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Restrictions Only Administrators, Operators and Power-Users can issue this command. Example To configure the MEL of the ERPS ring for a specific R-APS VLAN: DGS-1510-28XMP/ME:admin# config erps raps_vlan 4094 ring_mel 2 Command: config erps raps_vlan 4094 ring_mel 2 Success.
Page 228
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide To configure the ring state of the ERPS: DGS-1510-28XMP/ME:admin# config erps raps_vlan 4094 state enable Command: config erps raps_vlan 4094 state enable Success. DGS-1510-28XMP/ME:admin# 26-6 config erps log Description This command is used to configure the log state of ERPS events.
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide disable - Specifies to disable the trap state. This is the default option. Restrictions Only Administrators, Operators and Power-Users can issue this command. Example To configure the trap state of the ERPS:...
Page 230
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# show erps Command: show erps Global Status : Disabled Log Status : Disabled Trap Status : Disabled ------------------------------------ R-APS VLAN : 4094 ERPS Status : Disabled Admin West Port Operational West Port...
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Chapter 27 Filter Command List config filter netbios [<portlist> | all] state [enable | disable] show filter netbios config filter extensive_netbios [<portlist> | all] state [enable | disable] show filter extensive_netbios 27-1...
Page 232
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Parameters None. Restrictions None. Example To display the filter NetBIOS list created on the Switch: DGS-1510-28XMP/ME:admin# show filter netbios Command: show filter netbios Enabled ports: 1-3 DGS-1510-28XMP/ME:admin# 27-3 config filter extensive_netbios Description This command is used to configure the Switch to filter NetBIOS packets over 802.3 frame on the specific ports.
Page 233
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide 27-4 show filter extensive_netbios Description This command is used to display the extensive NetBIOS state on the Switch. Format show filter extensive_netbios Parameters None. Restrictions None. Example To display the extensive state created on the Switch:...
Page 235
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# create fdb default 00-00-00-00-01-02 port 5 Command: create fdb default 00-00-00-00-01-02 port 5 Success. DGS-1510-28XMP/ME:admin# To filter a unicast MAC: DGS-1510-28XMP/ME:admin# create fdb default 00-00-00-00-01-02 drop Command: create fdb default 00-00-00-00-01-02 drop Success.
Page 236
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# create fdb vlanid 1 00-00-00-00-02-02 drop Command: create fdb vlanid 1 00-00-00-00-02-02 drop Success. DGS-1510-28XMP/ME:admin# 28-3 create multicast_fdb Description This command is used to create a static entry in the multicast MAC address forwarding table (database).
Page 237
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide <macaddr> - Enter the MAC address that will be added or deleted to the forwarding table. add - Specifies to add ports to the multicast forwarding table. delete - Specifies to remove ports from the multicast forwarding table.
Page 238
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# config fdb aging_time 600 Command: config fdb aging_time 600 Success. DGS-1510-28XMP/ME:admin# 28-6 config multicast vlan_filtering_mode Description This command is used to configure the multicast packet filtering mode for VLANs. The registered group will be forwarded to the range of ports in the multicast forwarding database.
Page 239
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide 28-7 delete fdb Description This command is used to delete a static entry from the forwarding database. Format delete fdb <vlan_name 32> <macaddr> Parameters <vlan_name 32> - Enter the name of the VLAN on which the MAC address resides. The maximum name length is 32.
Page 240
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Restrictions Only Administrators, Operators and Power-Users can issue this command. Example To clear all FDB dynamic entries: DGS-1510-28XMP/ME:admin# clear fdb all Command: clear fdb all Success. DGS-1510-28XMP/ME:admin# 28-9 show multicast_fdb Description This command is used to display the multicast forwarding database of the Switch.
Page 241
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# show multicast_fdb Command: show multicast_fdb VLAN Name : default MAC Address : 01-00-5E-00-00-00 Egress Ports : 1-5 Mode : Static Total Entries: 1 DGS-1510-28XMP/ME:admin# 28-10 show fdb Description This command is used to display the current unicast MAC address forwarding database.
Page 242
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# show fdb Command: show fdb Unicast MAC Address Aging Time = 300 VLAN Name MAC Address Port Type Status ---- -------------------------------- ----------------- ----- ------- ------- default 00-01-02-03-04-00 CPU Self Forward default...
Page 243
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide <vidlist> - Enter the VLAN ID list here. vlan - (Optional) Specifies the name of the VLAN. The maximum name length is 32. <vlan_name 32> - Enter the VLAN name here. The VLAN name can be up to 32 characters long.
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Chapter 29 Flash File System (FFS) Command List show storage_media_info md {<drive_id>} <pathname> rd {<drive_id>} <pathname> cd {<pathname>} dir {<drive_id>} {<pathname>} rename {<drive_id>} <pathname> <filename> del {<drive_id>} <pathname> {recursive} erase {<drive_id>} <pathname>...
Page 245
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide 29-2 Description This command is used to create a directory. Format md {<drive_id>} <pathname> Parameters <drive_id> - (Optional) Enter the drive ID used, for example, C:. <pathname> - Enter the directory to be removed. The path name can be specified either as a full path name or partial name.
Page 246
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Example To remove a directory: DGS-1510-28XMP/ME:admin# rd c:/abc Command: rd c:/abc Success. DGS-1510-28XMP/ME:admin# 29-4 Description This command is used to change the current directory. The current directory is changed under the current drive. If you want to change the working directory to the directory in another drive, then you need to change the current drive to the desired drive, and then change the current directory.
Page 247
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Format dir {<drive_id>} {<pathname>} Parameters <drive_id> - (Optional) Enter the drive ID used, for example, C:. <pathname> - (Optional) Enter the directory to be removed. The path name can be specified either as a full path name or partial name.
Page 248
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Restrictions Only Administrators and Operators can issue this command. Example To rename a file: DGS-1510-28XMP/ME:admin# rename run.had run1.had Command: rename run.had run1.had Success. DGS-1510-28XMP/ME:admin# 29-7 Description This command is used to delete a file, either physically or softly. It is also used to delete a directory and its contents.
Page 249
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# dir Command: dir Directory of / c: Idx Info Attr Size Update Time Name --- ------- ---- -------- ------------------- ---------------- drw- 0 2000/04/02 06:02:04 12 2 CFG(*) -rw- 29661 2000/04/01 05:54:38 config.cfg...
Page 250
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Restrictions Only Administrators and Operators can issue this command. Example To erase a file: DGS-1510-28XMP/ME:admin# dir Command: dir Directory of /c: Idx Info Attr Size Update Time Name --- ------- ---- -------- ------------------- ----------------...
Page 251
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Parameters <drive_id> - (Optional) Enter the drive ID, for example, C:. <pathname> - Enter the file to be moved. The path name can be specified either as a full path name or partial name.
Page 252
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# copy c:/log.txt c:/log1.txt Command: copy c:/log.txt c:/log1.txt Success. DGS-1510-28XMP/ME:admin#...
Page 254
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide system knows that someone out there uses an IP address that is conflict with the system. In order to reclaim the correct host of this IP address, the system can send out the gratuitous ARP request packet for this duplicate IP address.
Page 255
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Example To show the global gratuitous ARP state: DGS-1510-28XMP/ME:admin# config gratuitous_arp learning enable Command: config gratuitous_arp learning enable Success. DGS-1510-28XMP/ME:admin# 30-4 config gratuitous_arp send periodically Description The command is used to configure the interval for periodical sending of gratuitous ARP request packet. By default, the interval is 0.
Page 256
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Format enable gratuitous_arp {ipif <ipif_name 12>} {trap | log}(1) Parameters ipif - (Optional) Specifies the interface name of L3 interface <ipif_name 12> - Enter the IP interface name here. This name can be up to 12 characters long.
Page 257
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# disable gratuitous_arp ipif System trap log Command: disable gratuitous_arp ipif System trap log Success. DGS-1510-28XMP/ME:admin# 30-7 show gratuitous_arp Description This command is used to display gratuitous ARP configuration. Format show gratuitous_arp {ipif <ipif_name 12>} Parameters ipif - (Optional) Specifies the interface name of L3 interface.
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Chapter 31 IGMP Snooping Command List The Internet Group Management Protocol (IGMP) is a L3 protocol used to manage the membership of Internet Protocol multicast groups. IGMP is used by IP hosts and adjacent multicast routers to establish multicast group memberships.
Page 259
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide 31-1 config igmp_snooping Description This command is used to configure IGMP snooping on the Switch. Format config igmp_snooping [vlan_name <vlan_name 32> | vlanid <vlanid_list> | all] {state [enable | disable] | fast_leave [enable | disable] | report_suppression [enable | disable]}(1) Parameters vlan_name - Specifies the name of the VLAN for which IGMP snooping is to be configured.
Page 260
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Format config igmp_snooping rate_limit [ports <portlist> | vlanid <vlanid_list>] [<value 1-1000> | no_limit] Parameters ports - Specifies a range of ports to be configured. <portlist> - Enter the range of ports to be configured here.
Page 261
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide setting is 125 seconds. <sec 1-65535> - Enter the query interval value here. This value must be between 1 and 65535 seconds. max_reponse_time - Specifies the maximum time in seconds to wait for reports from members. The default setting is 10 seconds.
Page 262
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide 31-4 config igmp access_authentication ports Description This command is used to enable or disable the IGMP Access Control function for the specified ports. If the IGMP Access Control function is enabled and the Switch receives an IGMP JOIN message, the Switch will send the access request to the RADIUS server for authentication.
Page 263
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide <vlanid_list> - Enter the VLAN ID here. add - Specifies to add the router ports. delete - Specifies to delete the router ports. <portlist> - Specifies a range of ports to be configured.
Page 264
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin#config router_ports_forbidden default add 11-12 Command: config router_ports_forbidden default add 11-12 Success. DGS-1510-28XMP/ME:admin# 31-7 enable igmp_snooping Description This command is used to enable IGMP snooping on the Switch. Format enable igmp_snooping Parameters None.
Page 265
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Restrictions Only Administrators, Operators and Power-Users can issue this command. Example To disable IGMP snooping on the Switch: DGS-1510-28XMP/ME:admin# disable igmp_snooping Command: disable igmp_snooping Success. DGS-1510-28XMP/ME:admin# 31-9 create igmp_snooping static_group Description This command is used to create an IGMP snooping static group. Member ports can be added to the static group.
Page 266
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin#create igmp_snooping static_group vlan default 239.1.1.1 Command: create igmp_snooping static_group vlan default 239.1.1.1 Success. DGS-1510-28XMP/ME:admin# 31-10 delete igmp_snooping static_group Description This command is used to delete an IGMP snooping multicast static group. The deletion of an IGMP snooping static group will not affect the IGMP snooping dynamic member ports for a group.
Page 267
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Format config igmp_snooping static_group [vlan <vlan_name 32> | vlanid <vlanid_list>] <ipaddr> [add | delete] <portlist> Parameters vlan - Specifies the name of the VLAN on which the static group resides. <vlan_name 32> - Enter the VLAN name here. The VLAN name can be up to 32 characters long.
Page 268
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Restrictions None. Example To display all the IGMP snooping static groups: DGS-1510-28XMP/ME:admin#show igmp_snooping static_group Command: show igmp_snooping static_group VLAN ID/Name IP Address Static Member Ports ------------------------------------- --------------- ---------------------- /default 239.1.1.1 9-10 Total Entries : 1...
Page 269
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide disable - Specifies to disable the data driven learning option. aged_out - Specifies to enable or disable the aging out of the entry. enable - Specifies to enable the aging out of the entry.
Page 270
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# config igmp_snooping data_driven_learning max_learned_entry 50 Command: config igmp_snooping data_driven_learning max_learned_entry 50 Success. DGS-1510-28XMP/ME:admin# 31-15 clear igmp_snooping data_driven_group Description This command is used to delete the IGMP snooping group(s) learned by data driven.
Page 271
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Format show igmp_snooping {[vlan <vlan_name 32> | vlanid <vlanid_list>]} Parameters vlan - (Optional) Specifies the name of the VLAN for which you want to view the IGMP snooping configuration. <vlan_name 32> - Enter the VLAN name here. The VLAN name can be up to 32 characters long.
Page 272
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide 31-17 show igmp_snooping rate_limit Description This command is used to display the IGMP snooping rate limit setting. Format show igmp_snooping rate_limit [ports <portlist> | vlanid <vlanid_list>] Parameters ports - Specifies the port range.
Page 273
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide information. <vlan_name 32> - Enter the VLAN name here. The VLAN name can be up to 32 characters long. vlanid - (Optional) Specifies the ID of the VLAN for which you want to view IGMP snooping group information.
Page 274
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide To show IGMP snooping data driven groups: DGS-1510-28XMP/ME:admin# show igmp_snooping group data_driven Command: show igmp_snooping group data_driven Source/Group : NULL/226.1.1.1 VLAN Name/VID : v103/103 Member Ports Router Ports UP Time : 92...
Page 275
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide 31-19 show igmp_snooping forwarding Description This command is used to display the Switch’s current IGMP snooping forwarding table. It provides an easy way for users to check the list of ports that the multicast group that comes from a specific sources will be forwarded to. The packet comes from the source VLAN.
Page 276
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide 31-20 show router_ports Description This command is used to display the currently configured router ports on the Switch. Format show router_ports [vlan <vlan_name 32> | vlanid <vlanid_list> | all ] {[static | dynamic | forbidden]} Parameters vlan - Specifies the name of the VLAN on which the router port resides.
Page 277
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide 31-21 show igmp_snooping statistics counter Description This command is used to display the statistics counter for IGMP protocol packets that are received by the Switch since IGMP snooping was enabled. Format show igmp_snooping statistic counter [vlan <vlan_name> | vlanid <vlanid_list> | ports <portlist>] Parameters vlan - Specifies a VLAN to be displayed.
Page 278
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# show igmp_snooping statistic counter vlanid 67 Command: show igmp_snooping statistic counter vlanid 67 VLAN Name : VLAN67 -------------------------------------------------- Group Number Receive Statistics Query IGMP v1 Query IGMP v2 Query IGMP v3 Query...
Page 279
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# show igmp_snooping statistic counter ports 1 Command: show igmp_snooping statistic counter ports 1 Port # -------------------------------------------------- Group Number Receive Statistics Query IGMP v1 Query IGMP v2 Query IGMP v3 Query Total...
Page 280
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Parameters all - Specifies all ports to be displayed. <portlist> - Enter a range of ports to be displayed. Restrictions None. Example To display the IGMP Access Control status for ports 1-4:...
Page 281
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# show igmp access_authentication ports all Command: show igmp access_authentication ports all Port State ----- --------- Enabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled...
Page 282
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Example To display the IGMP host IP information for VLAN: DGS-1510-28XMP/ME:admin#show igmp_snooping host vlan default Command: show igmp_snooping host vlan default VLANID Group Port Host ------- --------------- --------------- 225.0.1.0 198.19.1.2 225.0.1.0 198.19.1.3 225.0.1.0...
Page 283
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Restrictions Only Administrators, Operators and Power-Users can issue this command. Example To clear the IGMP snooping statistics counter: DGS-1510-28XMP/ME:admin# clear igmp_snooping statistic counter Command: clear igmp_snooping statistic counter Success. DGS-1510-28XMP/ME:admin#...
Page 285
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide to all ports. <portlist> - Enter a list of ports used for this configuration here. all - Specifies that all the ports will be included. Restrictions Only Administrators, Operators and Power-Users can issue this command.
Page 286
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide enable - Specifies that the allow zero IP option will be enabled. disable - Specifies that the allow zero IP option will be disabled. forward_dhcppkt - (Optional) By default, DHCP packets with a broadcast DA will be flooded. When set to disabled, the broadcast DHCP packet received by the specified port will not be forwarded.
Page 287
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# delete address_binding blocked vlan_name v31 mac_address 00-00-00- 00-00-11 Command: delete address_binding blocked vlan_name v31 mac_address 00-00-00-00-00-11 Success. DGS-1510-28XMP/ME:admin# 32-4 delete address_binding ip_mac Description This command is used to delete an IMPB entry.
Page 288
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Parameters <ipaddr> - Enter the IP address used here. mac_address - Specifies the MAC address of the entry being updated <macaddr> - Enter the MAC address used here. ports - (Optional) Specifies which ports are used for the IMPB entry being updated. If not specified, then it is applied to all ports.
Page 289
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# show address_binding Command: show address_binding Trap/Log : Disabled DHCP Snoop : Disabled DGS-1510-28XMP/ME:admin# To show the IMPB ports: DGS-1510-28XMP/ME:admin# show address_binding ports Command: show address_binding ports ARP: ARP Inspection IP: IP Inspection...
Page 290
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide vlan_name - Specifies the name of the VLAN to which the blocked MAC address belongs. <vlan_name> - Enter the VLAN name used. mac_address - Specifies the MAC address of the entry or the blocked MAC address.
Page 291
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# show address_binding ip_mac all Command: show address_binding ip_mac all M(Mode) - D:DHCP, S:Static ACL - A:Active I:Inactive IP Address MAC Address ACL Ports --------------------------------------- ----------------- -- -- --------------- 10.1.1.1 00-00-00-00-00-11 S...
Page 292
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Example To enable DHCP IPv4 snooping mode: DGS-1510-28XMP/ME:admin# enable address_binding dhcp_snoop Command: enable address_binding dhcp_snoop Success. DGS-1510-28XMP/ME:admin# 32-10 disable address_binding dhcp_snoop Description This command is used to disable DHCP snooping mode. When the DHCP snooping function is disabled, all of the auto-learned binding entries will be removed.
Page 293
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide all - Specifies that all the ports will be used. Restrictions Only Administrators, Operators and Power-Users can issue this command. Example To clear DHCP IPv4 snooping entries on ports 1-3: DGS-1510-28XMP/ME:admin# clear address_binding dhcp_snoop binding_entry ports 1-3 Command: clear address_binding dhcp_snoop binding_entry ports 1-3 Success.
Page 294
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# show address_binding dhcp_snoop max_entry Command: show address_binding dhcp_snoop max_entry Port Max Entry ---- --------- No Limit No Limit No Limit No Limit No Limit No Limit No Limit No Limit No Limit...
Page 295
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin#show address_binding dhcp_snoop binding_entry Command: show address_binding dhcp_snoop binding_entry S (Status) - A: Active, I: Inactive Time - Left Time (sec) IP Address MAC Address LT(sec) Port --------------------------------------- ----------------- -- ---------- -----...
Page 296
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Format enable address_binding trap_log Parameters None. Restrictions Only Administrators, Operators and Power-Users can issue this command. Example To enable the IMPB traps and logs: DGS-1510-28XMP/ME:admin# enable address_binding trap_log Command: enable address_binding trap_log Success.
Page 297
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide 32-17 config address_binding recover_learning ports Description This command is used to recover IMPB checking. Format config address_binding recover_learning ports [<portlist> | all] Parameters <portlist> - Enter the list of ports that need to recover the IMPB checking.
Page 298
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Restrictions Only Administrators can issue this command. Example To print out all debug IMPB messages: DGS-1510-28XMP/ME:admin# debug address_binding all state enable Command: debug address_binding all state enable Success. DGS-1510-28XMP/ME:admin# 32-19 no debug address_binding...
Page 300
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Format delete ipv6 neighbor_cache ipif [<ipif_name 12> | all] [<ipv6addr> | static | dynamic | all] Parameters <ipif_name 12> - Enter the IP interface name here. This name can be up to 12 characters long.
Page 301
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Restrictions None Example Show all neighbor cache entries of IP interface “System”: DGS-1510-28XMP/ME:admin# show ipv6 neighbor_cache ipif System all Command: show ipv6 neighbor_cache ipif System all 3FFC::1 State: Static MAC Address : 00-01-02-03-04-05...
Page 302
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# config ipv6 nd ns ipif Zira retrans_time 1000000 Command: config ipv6 nd ns ipif Zira retrans_time 1000000 Success. DGS-1510-28XMP/ME:admin# 33-5 show ipv6 nd Description This command is used to display information regarding neighbor detection on the Switch.
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Chapter 34 IPv6 Route Command List create ipv6route [default] [<ipif_name 12> <ipv6addr> | <ipv6addr>] {<metric 1-65535>} delete ipv6route [default] [<ipif_name 12> <ipv6addr> | <ipv6addr> | all] show ipv6route 34-1 create ipv6route Description This command is used to create an IPv6 default route.
Page 304
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Format delete ipv6route [default] [<ipif_name 12> <ipv6addr> | <ipv6addr> | all] Parameters default - Specifies the default route. <ipif_name 12> - Enter the IP interface name used here. This name can be up to 12 characters long.
Page 305
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# show ipv6route Command: show ipv6route IPv6 Prefix: ::/0 Protocol: Static Metric: 1 Next Hop : 3001::254 IPIF : System Status : Inactive Total Entries: 1 DGS-1510-28XMP/ME:admin#...
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Chapter 35 Jumbo Frame Command List enable jumbo_frame disable jumbo_frame show jumbo_frame 35-1 enable jumbo_frame Description This command is used to configure the jumbo frame setting as enable. Format enable jumbo_frame Parameters None.
Page 307
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Restrictions Only Administrators and Operators can issue this command. Example To disable the Jumbo frame: DGS-1510-28XMP/ME:admin# disable jumbo_frame Command: disable jumbo_frame Success. DGS-1510-28XMP/ME:admin# 35-3 show jumbo_frame Description This command is used to display the current configuration of jumbo frame.
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Chapter 36 Layer 2 Protocol Tunneling (L2PT) Command List enable l2protocol_tunnel disable l2protocol_tunnel config l2protocol_tunnel ports [<portlist> | all] type [uni tunneled_protocol [{stp | gvrp | protocol_mac [01-00-0C- CC-CC-CC | 01-00-0C-CC-CC-CD]}(1) | all] {threshold <value 0-65535>} | nni | none]...
Page 309
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Parameters None. Restrictions Only Administrators and Operators can issue this command. Example To disable the Layer 2 protocol tunneling function: DGS-1510-28XMP/ME:admin# disable l2protocol_tunnel Command: disable l2protocol_tunnel Success. DGS-1510-28XMP/ME:admin# 36-3 config l2protocol_tunnel ports Description This command is used to configure Layer 2 protocol tunneling on ports.
Page 310
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide means no limit. By default, the value is 0. nni - Specifies the ports as NNI ports. none - Specifies to disable tunnel on it. Restrictions Only Administrators and Operators can issue this command.
Page 311
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# show l2protocol_tunnel uni Command: show l2protocol_tunnel uni Tunneled Threshold Port Protocol (packet/sec) ---- ----------------- ------------ DGS-1510-28XMP/ME:admin#...
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Chapter 37 Link Aggregation Command List create link_aggregation group_id <value> {type [lacp | static]} delete link_aggregation group_id <value> config link_aggregation group_id <value> {master_port <port> | ports <portlist> | state [enable | disable]...
Page 313
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide 37-2 delete link_aggregation group_id Description This command is used to delete a previously configured link aggregation group. Format delete link_aggregation group_id <value> Parameters <value> - Enter the group ID value here. Restrictions Only Administrators, Operators and Power-Users can issue this command.
Page 314
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide enable - Specifies to enable the specified link aggregation group. disable - Specifies to disable the specified link aggregation group. Restrictions Only Administrators, Operators and Power-Users can issue this command. Example To define a load-sharing group of ports:...
Page 315
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# config link_aggregation algorithm mac_source_dest Command: config link_aggregation algorithm mac_source_dest Success. DGS-1510-28XMP/ME:admin# 37-5 show link_aggregation Description This command is used to display the current link aggregation configuration on the Switch. Format show link_aggregation {group_id <value> | algorithm} Parameters group_id - (Optional) Specifies the group id.
Page 316
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# show link_aggregation Command: show link_aggregation Link Aggregation Algorithm = MAC-Source-Dest Group ID Type : LACP Master Port Member Port : 5-7 Active Port Status : Enabled Flooding Port : Total Entries : 1...
Page 317
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Restrictions Only Administrators, Operators and Power-Users can issue this command. Example To configure LACP mode on port 1-12: DGS-1510-28XMP/ME:admin# config lacp_port 1-12 mode active command: config lacp_port 1-12 mode active Success. DGS-1510-28XMP/ME:admin#...
Page 318
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin#show lacp_port Command: show lacp_port Port Activity ----- -------- Active Active Active Active Active Active Active Active Active Active Active Active Passive Passive Passive Passive Passive Passive CTRL+C ESC q Quit SPACE n...
Page 320
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Example To enable LLDP: DGS-1510-28XMP/ME:admin# enable lldp Command: enable lldp Success. DGS-1510-28XMP/ME:admin# 38-2 disable lldp Description This command is used to stop sending and receiving of LLDP advertisement packet. Format disable lldp Parameters None.
Page 321
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide advertisements on any given port. The default value is 30 seconds. <sec 5-32768> - Enter the message transmit interval value here. This value must be between 5 and 32768 seconds. message_tx_hold_multiplier - Specifies to configure the message hold multiplier. The default value is 4.
Page 322
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# config lldp notification_interval 10 Command: config lldp notification_interval 10 Success. DGS-1510-28XMP/ME:admin# 38-5 config lldp ports Description This command is used to configure each port for sending a notification to configure the SNMP trap receiver(s).
Page 323
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide default state is disable. system_capabilities - (Optional) Specifies that the LLDP agent should transmit 'System Capabilities TLV'. The system capability will indicate whether the device provides repeater, bridge, or router function, and whether the provided functions are currently enabled.
Page 324
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide include whether the port is capable of doing link aggregation, whether the port is aggregated in a aggregated link, and the aggregated port ID. The default state is disable. power_via_mdi - (Optional) Specifies that the LLDP agent should transmit 'Power via MDI TLV'. Three IEEE 802.3 PMD implementations (10BASE-T, 100BASE-TX, and 1000BASE-T) allow power to be supplied over...
Page 325
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# config lldp ports all basic_tlvs system_name enable Command: config lldp ports all basic_tlvs system_name enable Success. DGS-1510-28XMP/ME:admin# To configure exclude the vlan nameTLV from the outbound LLDP advertisements for all ports:...
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide 38-6 config lldp forward_ message Description This command is used to configure forwarding of LLDP PDU packet when LLDP is disabled. Format config lldp forward_message [enable | disable] Parameters enable - Specifies to enable the forwarding of the LLDP PDU packets when LLDP is disabled.
Page 327
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# show lldp Command: show lldp LLDP System Information Chassis ID Subtype : MAC Address Chassis ID : 00-01-02-03-04-00 System Name System Description : Fast Ethernet Switch System Capabilities : Repeater, Bridge...
Page 328
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# show lldp mgt_addr ipv4 10.90.90.90 Command: show lldp mgt_addr ipv4 10.90.90.90 Address 1 : ------------------------------------------------ Subtype : IPv4 Address : 10.90.90.90 IF Type : IfIndex : 1.3.6.1.4.1.171.10.113.8.1 Advertising Ports : 1-2,5...
Page 329
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# show lldp ports 1 Command: show lldp ports 1 Port ID ----------------------------------------------------------------- Admin Status : TX_and_RX Notification Status : Enabled Advertised TLVs Option Port Description Disabled System Name Enabled System Description...
Page 330
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Example To display outbound LLDP advertisements for port 1 in detailed mode. Port description on the display should use the same value as ifDescr. DGS-1510-28XMP/ME:admin# show lldp local_ports 1 mode detailed Command: show lldp local_ports 1 mode detailed...
Page 331
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# show lldp local_ports 1 mode normal Command: show lldp local_ports 1 mode normal Port ID : 1 ----------------------------------------------------------------------------- Port ID Subtype : Local Port ID Port Description : D-Link DGS-1510-28XMP/ME R1.00.
Page 332
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide brief - Specifies to display the information in brief mode. normal - Specifies to display the information in normal mode. This is the default display mode. detailed - Specifies to display the information in detailed mode.
Page 333
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide To display remote table in normal mode: DGS-1510-28XMP/ME:admin# show lldp remote_ports 3 mode normal Command: show lldp remote_ports 3 mode normal Port ID : 3 ------------------------------------------------------------------------------- Remote Entities Count : 1 Entity 1...
Page 334
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# show lldp remote_ports 3 mode detailed Command: show lldp remote_ports 3 mode detailed Port ID : 3 ------------------------------------------------------------------------------- Remote Entities Count : 1 Entity 1 Chassis ID Subtype : MAC Address...
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide 38-12 show lldp statistics Description This command is used to display an overview of neighbor detection activity on the Switch. Format show lldp statistics Parameters None. Restrictions None. Example To display global statistics information:...
Page 336
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Example To display statistics information of port 1: DGS-1510-28XMP/ME:admin# show lldp statistics ports 1 Command: show lldp statistics ports 1 Port ID : 1 --------------------------------------------- LLDPStatsTXPortFramesTotal : 23 LLDPStatsRXPortFramesDiscardedTotal LLDPStatsRXPortFramesErrors LLDPStatsRXPortFramesTotal LLDPStatsRXPortTLVsDiscardedTotal...
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Chapter 39 LLDP-MED Command List config lldp_med fast_start repeat_count <value 1 - 10> config lldp_med log state [enable | disable] config lldp_med notification topo_change ports [<portlist> | all] state [enable | disable] config lldp_med ports [<portlist>...
Page 338
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Format config lldp_med log state [enable | disable] Parameters enable - Specifies to enable the log state for LLDP-MED events. disable - Specifies to disable the log state for LLDP-MED events. The default is disabled.
Page 339
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin#config lldp_med notification topo_change ports 1-2 state enable Command: config lldp_med notification topo_change ports 1-2 state enable Success. DGS-1510-28XMP/ME:admin# 39-4 config lldp_med ports Description This command is used to enable or disable transmitting LLDP-MED TLVs. It effectively disables LLDP-MED on a per-port basis by disabling transmission of TLV capabilities.
Page 340
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide 39-5 show lldp_med ports Description This command is used to display LLDP-MED per port configuration for advertisement options. Format show lldp_med ports {<portlist>} Parameters <portlist> - (Optional) Enter a range of ports to be displayed.
Page 341
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Example To display the Switch’s general LLDP-MED configuration status: DGS-1510-28XMP/ME:admin#show lldp_med Command: show lldp_med LLDP-MED System Information: Device Class : Network Connectivity Device Hardware Revision : A1 Firmware Revision : 1.00.001 Software Revision : 1.00.012...
Page 342
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin#show lldp_med local_ports 1 Command: show lldp_med local_ports 1 Port ID ----------------------------------------------------------------- LLDP-MED Capabilities Support: Capabilities :Support Network Policy :Not Support Location Identification :Not Support Extended Power Via MDI PSE :Support Extended Power Via MDI PD...
Page 343
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin#show lldp_med remote_ports Command: show lldp_med remote_ports 1 Port ID : 1 --------------------------------------------------------------------------- Remote Entities Count : 1 Entity 1 Chassis ID Subtype : MAC Address Chassis ID : 00-01-02-03-04-00 Port ID Subtype...
Page 344
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Hardware Revision Firmware Revision Software Revision Serial Number Manufacturer Name Model Name Asset ID DGS-1510-28XMP/ME:admin#...
Page 345
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Chapter 40 Loop Back Detection (LBD) Command List config loopdetect {recover_timer [<value 0> | <sec 60-1000000>] | interval <sec 1-32767> | mode [port-based | vlan-based]} config loopdetect ports [<portlist> | all] state [enable | disable]...
Page 346
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Example To set the auto-recover time to 0, which disables the auto-recovery mechanism, the interval to 20 seconds and specify VLAN-based mode: DGS-1510-28XMP/ME:admin# config loopdetect recover_timer 0 interval 20 mode vlan-based Command: config loopdetect recover_timer 0 interval 20 mode vlan-based Success.
Page 347
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Format enable loopdetect Parameters None. Restrictions Only Administrators, Operators and Power-Users can issue this command. Example To enable the LBD function globally: DGS-1510-28XMP/ME:admin# enable loopdetect Command: enable loopdetect Success. DGS-1510-28XMP/ME:admin# 40-4 disable loopdetect Description This command is used to disable the LBD function globally on the Switch.
Page 348
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide 40-5 show loopdetect Description This command is used to display the LBD global configuration. Format show loopdetect Parameters None. Restrictions Only Administrators and Operators can issue this command. Example To show the LBD global settings:...
Page 349
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Restrictions None. Example To show the LBD settings on ports 1-9: DGS-1510-28XMP/ME:admin# show loopdetect ports 1-9 Command: show loopdetect ports 1-9 Port Loopdetect State Loop Status ------ ------------------ ---------- Enabled Normal Enabled...
Page 350
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# config loopdetect trap both Command: config loopdetect trap both Success. DGS-1510-28XMP/ME:admin# 40-8 config loopdetect log Description This command is used to configure the log state for LBD. The default value is enabled.
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Chapter 41 MAC Notification Command List enable mac_notification disable mac_notification config mac_notification {interval <sec 1-2147483647> | historysize <int 1-500>} config mac_notification ports [<portlist> | all] [enable | disable] show mac_notification show mac_notification ports {<portlist>}...
Page 352
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Parameters None. Restrictions Only Administrators, Operators and Power-Users can issue this command. Example To disable MAC notification function: DGS-1510-28XMP/ME:admin# disable mac_notification Command: disable mac_notification Success. DGS-1510-28XMP/ME:admin# 41-3 config mac_notification Description This command is used to configure the Switch’s MAC address table notification global settings.
Page 353
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide 41-4 config mac_notification ports Description This command is used to configure the port’s MAC address table notification status settings. Format config mac_notification ports [<portlist> | all] [enable | disable] Parameters <portlist> - Enter a list of ports used for the configuration here.
Page 354
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# show mac_notification Command: show mac_notification Global MAC Notification Settings State : Disabled Interval History Size : 1 DGS-1510-28XMP/ME:admin# 41-6 show mac_notification ports Description This command is used to display the port’s Mac address table notification status settings.
Page 355
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# show mac_notification ports Command: show mac_notification ports Port MAC Address Table Notification State ------ ------------------------------------ Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled...
Page 357
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Example To enable the MAC-based Access Control global state: DGS-1510-28XMP/ME:admin# enable mac_based_access_control Command: enable mac_based_access_control Success. DGS-1510-28XMP/ME:admin# 42-2 disable mac_based_access_control Description This command is used to disable MAC-based Access Control. Format disable mac_based_access_control Parameters None.
Page 358
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Parameters <password> - Enter the password used here. The maximum length of the key is 16. The default password is “default”. Restrictions Only Administrators, Operators and Power-Users can issue this command. Example...
Page 359
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide 42-5 config mac_based_access_control guest_vlan ports Description This command is used to assign a specified port list to the MAC-based Access Control guest VLAN. Ports that are not contained in port list will be removed from the MAC-based Access Control guest VLAN.
Page 360
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide If the port authorize mode is host based mode, then each user will be authorized individually and be capable of getting its own assigned VLAN. If port’s block time is set to” infinite”, it means that a failed authentication client will never be blocked. Block time will be set to “0”.
Page 361
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# config mac_based_access_control ports 1-8 aging_time infinite block_time 120 Command: config mac_based_access_control ports 1-8 aging_time infinite block_time 120 Success. DGS-1510-28XMP/ME:admin# 42-7 create mac_based_access_control Description This command is used to assign a static 802.1Q VLAN as a MAC-based Access Control guest VLAN.
Page 362
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Parameters guest_vlan - Specifies the name of the MAC-based Access Control’s guest VLAN. <vlan_name 32> - Enter the VLAN name here. This name can be up to 32 characters long. guest_vlanid - Specifies the VID of the MAC-based Access Control’s guest VLAN.
Page 363
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# clear mac_based_access_control auth_state ports all Command: clear mac_based_access_control auth_state ports all Success. DGS-1510-28XMP/ME:admin# To delete the MAC-based Access Control authentication information for the host that has a MAC address of 00-00-...
Page 364
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# create mac_based_access_control_local mac 00-00-00-00-00-01 vlan default Command: create mac_based_access_control_local mac 00-00-00-00-00-01 vlan default Success. DGS-1510-28XMP/ME:admin# 42-11 config mac_based_access_control_local mac Description This command is used to configure a MAC-based Access Control local database entry.
Page 365
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Format delete mac_based_access_control_local [mac <macaddr> | vlan <vlan_name 32> | vlanid <vlanid 1-4094>] Parameters mac - Specifies to delete local database entry by specific MAC address. <macaddr> - Enter the MAC address used here.
Page 366
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Format config mac_based_access_control authorization attributes {radius [enable | disable] | local [enable | disable]}(1) Parameters radius - Specifies to enable or disable the RADIUS attributes. enable - Specifies to enable the RADIUS attributes. The authorized attributes (for example VLAN, 802.1p default priority, and ACL) assigned by the RADUIS server will be accepted if the global authorization status is enabled.
Page 367
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Example To show the MAC-based Access Control port configuration for ports 1 to 4: DGS-1510-28XMP/ME:admin# show mac_based_access_control ports 1-4 Command: show mac_based_access_control ports 1-4 Port State Aging Time Block Time Auth Mode...
Page 368
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin#show mac_based_access_control_local vlan default Command: show mac_based_access_control_local vlan default MAC Address ----------------- ---- 00-11-22-33-44-55 Total Entries:1 DGS-1510-28XMP/ME:admin# 42-16 show mac_based_access_control auth_state ports Description This command is used to display the MAC-based Access Control authentication status on port.
Page 369
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide 42-17 config mac_based_access_control max_users Description This command is used to configure the maximum number of authorized clients. Format config mac_based_access_control max_users [<value 1-1000> | no_limit] Parameters <value 1-1000> - Enter the maximum number of authorized clients on the whole device. This value must be between 1 and 1000.
Page 370
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Example To enable trap state of MAC-based Access Control: DGS-1510-28XMP/ME:admin# config mac_based_access_control trap state enable Command: config mac_based_access_control trap state enable Success. DGS-1510-28XMP/ME:admin# 42-19 config mac_based_access_control log state Description This command is used to enable or disable generating of MAC-based Access Control logs.
Page 372
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Format delete mac_based_vlan {mac_address <macaddr> [vlan <vlan_name 32> | vlanid <vlanid 1-4094>]} Parameters mac_address - (Optional) Specifies the MAC address used. <macaddr> - Enter the MAC address used here. vlan - (Optional) Specifies the VLAN to be associated with the MAC address.
Page 373
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Restrictions None. Example In the following example, MAC address “00-80-c2-33-c3-45” is assigned to VLAN 300 by manual config. It is assigned to VLAN 400 by Voice VLAN. Since Voice VLAN has higher priority than manual configuration, the manual configured entry will become inactive.
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Chapter 44 Mirror Command List config mirror port <port> {[add | delete] source ports <portlist> [rx | tx | both]} enable mirror disable mirror show mirror 44-1 config mirror port Description This command is used to configure a mirror port − source port pair on the Switch. Traffic from any source port to a target port can be mirrored for real-time analysis.
Page 375
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide 44-2 enable mirror Description This command is used to enable mirror function without having to modify the mirror session configuration. Format enable mirror Parameters None. Restrictions Only Administrators and Operators can issue this command.
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# disable mirror Command: disable mirror Success. DGS-1510-28XMP/ME:admin# 44-4 show mirror Description This command is used to display the current mirror function state and mirror session configuration on the Switch. Format show mirror Parameters None.
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Chapter 45 MLD Snooping Command List The Multicast Listener Discovery (MLD) is used by IPv6 routers to discover multicast listeners on a directly attached link, much as IGMP is used in IPv4. The protocol is embedded in ICMPv6 instead of using a separate protocol.
Page 378
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide 45-1 config mld_snooping Description This command is used to configure MLD snooping on the Switch. Format config mld_snooping [vlan_name <vlan_name 32> | vlanid <vlanid_list> | all] {state [enable | disable] | fast_done [enable |disable] | report_suppression [enable | disable]} Parameters vlan_name - Specifies the name of the VLAN for which MLD snooping is to be configured.
Page 379
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Format config mld_snooping querier [vlan_name <vlan_name 32> | vlanid <vlanid_list> | all] {query_interval <sec 1-65535> | max_response_time <sec 1-25> | robustness_variable <value 1-7> | last_listener_query_interval <sec 1-25> | state [enable | disable] | version <value 1-2>}(1) Parameters vlan_name - Specifies the name of the VLAN for which MLD snooping querier is to be configured.
Page 380
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# config mld_snooping querier vlan_name default query_interval 125 state enable Command: config mld_snooping querier vlan_name default query_interval 125 state enable Success. DGS-1510-28XMP/ME:admin# 45-3 config mld_snooping router_ports Description This command is used to designate a range of ports as being connected to multicast-enabled routers. This will ensure that all packets with such a router as its destination will reach the multicast-enabled router, regardless of protocol, etc.
Page 381
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Format config mld_snooping mrouter_ports_forbidden [vlan <vlan_name 32> | vlanid <vlanid_list>] [add | delete] <portlist> Parameters vlan - Specifies the name of the VLAN on which the forbidden router port resides. <vlan_name 32> - Enter the VLAN name here. The VLAN name can be up to 32 characters long.
Page 382
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Example To enable MLD snooping on the Switch: DGS-1510-28XMP/ME:admin# enable mld_snooping Command: enable mld_snooping Success. DGS-1510-28XMP/ME:admin# 45-6 disable mld_snooping Description This command is used to disable MLD snooping on the Switch. This is the default option.
Page 383
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide <vlan_name 32> - Enter the VLAN name here. The VLAN name can be up to 32 characters long. vlanid - (Optional) Specifies the ID of the VLAN for which you want to view the MLD snooping configuration.
Page 384
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Parameters vlan - (Optional) Specifies the name of the VLAN for which you want to view MLD snooping group information. If VLAN and ports and IP address are not specified, the system will display all current MLD snooping group information.
Page 385
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# show mld_snooping group Command: show mld_snooping group Source/Group : NULL/FF13::1 VLAN Name/VID : v103/103 Member Ports Router Ports UP Time : 172 Expiry Time : 89 Filter Mode : EXCLUDE Source/Group...
Page 386
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide To show MLD snooping data driven groups: DGS-1510-28XMP/ME:admin# show mld_snooping group data_driven Command: show mld_snooping group data_driven Source/Group : NULL/FF13::1 VLAN Name/VID : v103/103 Member Ports Router Ports UP Time : 97...
Page 387
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# show mld_snooping forwarding Command: show mld_snooping forwarding VLAN Name : default Source IP Multicast Group: FE1E::1 Port Member : 2,7 VLAN Name : default Source IP Multicast Group: FF1E::1 Port Member...
Page 388
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# show mld_snooping mrouter_ports vlan default Command: show mld_snooping mrouter_ports vlan default VLAN Name : default Static Router Port : 1-10 Dynamic Router Port Router IP Forbidden Router Port : 11 Total Entries: 1...
Page 389
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# create mld_snooping static_group vlan default FF1E::1 Command: create mld_snooping static_group vlan default FF1E::1 Success. DGS-1510-28XMP/ME:admin# 45-12 delete mld_snooping static_group Description This command is used to delete a MLD Snooping multicast static group.
Page 390
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Format config mld_snooping static_group [vlan <vlan_name 32> | vlanid <vlanid_list>] <ipv6addr> [add | delete] <portlist> Parameters vlan - Specifies the name of the VLAN on which the static group resides. <vlan_name 32> - Enter the VLAN name here. The VLAN name can be up to 32 characters long.
Page 391
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Restrictions None. Example To display all the MLD snooping static groups: DGS-1510-28XMP/ME:admin# show mld_snooping static_group VLAN ID/Name IP Address Static Member Ports -------------- ------------------ ------------------------ 1 / Default FF1E ::1 9-10 Total Entries : 1...
Page 392
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide expiry_time - (Optional) Specifies the data driven group lifetime, in seconds. This parameter is valid only when aged_out is enabled. <sec 1-65535> - Enter the expiry time value here. This value must be between 1 and 65535 seconds.
Page 393
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide 45-17 clear mld_snooping data_driven_group Description This command is used to delete the MLD snooping groups learned by data driven. Format clear mld_snooping data_driven_group [all | [vlan_name <vlan_name> | vlanid <vlanid_list>] [<ipv6addr>| all]] Parameters all - Specifies all VLANs to which MLD snooping groups will be deleted.
Page 394
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide vlanid - Specifies a list of VLANs to be displayed. <vlanid_list> - Enter the VLAN ID list here. ports - Specifies a list of ports to be displayed. <portlist> - Enter the list of ports here.
Page 395
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide 45-19 clear mld_snooping statistics counter Description This command is used to clear MLD snooping statistics counters. Format clear mld _snooping statistics counter Parameters None. Restrictions Only Administrators, Operators and Power-Users can issue this command.
Page 396
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Restrictions Only Administrators, Operators and Power-Users can issue this command. Example To configure the MLD snooping per port rate limit: DGS-1510-28XMP/ME:admin# config mld_snooping rate_limit ports 1 100 Command: config mld_snooping rate_limit ports 1 100 Success.
Page 397
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# show mld_snooping rate_limit ports 1-5 Command: show mld_snooping rate_limit ports 1-5 Port Rate Limit -------- --------------- No Limit No Limit No Limit No Limit Total Entries: 5 DGS-1510-28XMP/ME:admin# 45-22 show mld_snooping host Description This command is used to display the MLD hosts that are joined groups on the specific port or VALN.
Page 398
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin#show mld_snooping host vlan default Command: show mld_snooping host vlan default VLAN ID Group : FF12::1:FF11:11 Port Host : FE80::200:FF:FE70:3 VLAN ID Group : FF13::1:3 Port Host : FE80::845:B9BE:A863:A1FD Total Entries : 2 DGS-1510-28XMP/ME:admin# To display the host IP information for the group “FF32:3::1234:5600”:...
Page 399
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Chapter 46 MSTP debug enhancement Command List debug stp config ports [<portlist> | all] [event | bpdu | state_machine | all] state [disable | brief | detail] debug stp show information debug stp show flag {ports <portlist>} debug stp show counter {ports [<portlist>...
Page 400
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# debug stp config ports all all state brief Command: debug stp config ports all all state brief Success. DGS-1510-28XMP/ME:admin# 46-2 debug stp show information Description This command is used to display STP detailed information, such as the hardware tables, the STP state machine, etc.
Page 401
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# debug stp show information Command: debug stp show information Warning: only support local device. Spanning Tree Debug Information: ---------------------------------------- Port Status In Hardware Table: Instance 0: Port 1 : FOR Port 2...
Page 402
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# debug stp show flag DGS-1510-28XMP/ME:admin# debug stp show flag Command: debug stp show flag Global State: Disabled Port Index Event Flag BPDU Flag State Machine Flag ---------------------------------------------------------- Disabled Disabled Disabled Disabled...
Page 403
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide all - Specifies to display all port’s counters. If no parameter is specified, the global counters will be displayed. Restrictions Only Administrators can issue this command. Example To show the STP counters for port 9:...
Page 404
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Restrictions Only Administrators can issue this command. Example To clear all STP counters on the Switch: DGS-1510-28XMP/ME:admin# debug stp clear counter ports all Command: debug stp clear counter ports all Success. DGS-1510-28XMP/ME:admin#...
Page 406
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# create mcast_filter_profile profile_id 2 profile_name MOD Command: create mcast_filter_profile profile_id 2 profile_name MOD Success. DGS-1510-28XMP/ME:admin# 47-2 config mcast_filter_profile Description This command is used to add or delete a range of multicast IP addresses to or from the profile.
Page 407
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Format config mcast_filter_profile ipv6 [profile_id <value 1-24> | profile_name <name 1-32> ] {profile_name <name 1-32> | [add | delete] <mcastv6_address_list>}(1) Parameters profile_id - Specifies the ID of the profile. <value 1-24> - Enter the profile ID value here. This value must be between 1 and 24.
Page 408
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide profile_id - Specifies the ID of the profile <value 1-24> - Enter the profile ID value here. This value must be between 1 and 24. all - Specifies that all multicast address profiles will be deleted.
Page 409
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Restrictions None. Example To display all the defined multicast address profiles: DGS-1510-28XMP/ME:admin# show mcast_filter_profile Command: show mcast_filter_profile Profile ID Name Multicast Addresses ---- ---------------- ---------------- ---------------- 234.1.1.1 - 238.244.244.244 234.1.1.1 - 238.244.244.244 customer 224.19.62.34 - 224.19.162.200...
Page 410
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide mode is permit. deny - Specifies that packets matching the addresses defined in the profiles will be denied. Restrictions Only Administrators, Operators and Power-Users can issue this command. Example To add multicast address profile 2 to ports 1 and 3:...
Page 411
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Restrictions Only Administrators, Operators and Power-Users can issue this command. Example To configure the maximum number of multicast group that ports 1 and 3 can join to 100: DGS-1510-28XMP/ME:admin# config max_mcast_group ports 1, 3 max_group 100 Command: config max_mcast_group ports 1, 3 max_group 100 Success.
Page 412
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# show max_mcast_group ports 1-2 Command: show max_mcast_group ports 1-2 Port Max Multicast Group Number Action ------ ---------------------------- --------- Drop Infinite Drop Total Entries: 2 DGS-1510-28XMP/ME:admin# To display the maximum number of multicast groups that VLANs 1 and 2 can join:...
Page 413
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Restrictions None. Example To show the limited multicast address range on ports 1 and 3: DGS-1510-28XMP/ME:admin# show limited_multicast_addr ports 1,3 Command: show limited_multicast_addr ports 1,3 Port Access : Deny Profile ID Name...
Page 414
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Format config cpu_filter l3_control_pkt <portlist> [{dvmrp|pim|igmp_query |ospf | rip | vrrp} | all] state [enable | disable] Parameters <portlist> - Specifies the port list to filter control packets. dvmrp – (Optional) Specifies to filter the DVMRP control packets.
Page 415
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Example To display the filtering status for port 1 and 2: DGS-1510-28XMP/ME:admin#show cpu_filter l3_control_pkt ports 1-2 Command: show cpu_filter l3_control_pkt ports 1-2 Port IGMP Query DVMRP OSPF VRRP ---- ---------- -------- --------...
Page 417
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide forwarded on the multicast VLAN. If none is specified, the packet’s original priority will be used. The default setting is none. <value 0-7> - Enter the remap priority value here. This value must be between 0 and 7.
Page 418
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide same multicast VLAN. <portlist> - Enter the list of ports to be configured here. tag_member_port - Specifies the port or range of ports that will become tagged members of the multicast VLAN.
Page 419
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Restrictions Only Administrators, Operators and Power-Users can issue this command. Example To create an IGMP snooping multicast group profile with the name “test”: DGS-1510-28XMP/ME:admin# create igmp_snooping multicast_vlan_group_profile test Command: create igmp_snooping multicast_vlan_group_profile test Success.
Page 420
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide 48-5 delete igmp_snooping multicast_vlan_group_profile Description This command is used to delete an IGMP snooping multicast group profile on the Switch. Specifies a profile name to delete it. Specifies all to remove all profiles along with the groups that belong to that profile.
Page 421
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Example To display all IGMP snooping multicast VLAN profiles: DGS-1510-28XMP/ME:admin# show igmp_snooping multicast_vlan_group_profile Command: show igmp_snooping multicast_vlan_group_profile Profile Name Multicast Addresses --------------------- -------------------------------- 234.1.1.1 - 238.244.244.244 239.1.1.1 - 239.2.2.2 Customer 224.19.62.34 - 224.19.162.200...
Page 422
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# config igmp_snooping multicast_vlan_group v1 add profile_name channel_1 Command: config igmp_snooping multicast_vlan_group v1 add profile_name channel_1 Success. DGS-1510-28XMP/ME:admin# 48-8 show igmp_snooping multicast_vlan_group Description This command is used to show an IGMP snooping multicast VLAN group.
Page 423
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Parameters vlan_name 32> -Enter the multicast VLAN name here. The VLAN name can be up to 32 characters long. Restrictions Only Administrators, Operators and Power-Users can issue this command. Example To delete an IGMP snooping multicast VLAN called “v1”:...
Page 424
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Format disable igmp_snooping multicast_vlan Parameters None. Restrictions Only Administrators can issue this command. Example To disable the IGMP snooping multicast VLAN function: DGS-1510-28XMP/ME:admin# disable igmp_snooping multicast_vlan Command: disable igmp_snooping multicast_vlan Success. DGS-1510-28XMP/ME:admin#...
Page 425
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# config igmp_snooping multicast_vlan forward_unmatched enable Command: config igmp_snooping multicast_vlan forward_unmatched enable Success. DGS-1510-28XMP/ME:admin# 48-13 show igmp_snooping multicast_vlan Description This command is used to display information for IGMP snooping multicast VLANs. Format show igmp_snooping multicast_vlan {<vlan_name 32>}...
Page 427
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# enable stp Command: enable stp Success. DGS-1510-28XMP/ME:admin# 49-2 disable stp Description This command is used to disable STP globally. Format disable stp Parameters None. Restrictions Only Administrators, Operators and Power-Users can issue this command.
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide <value 6-40> - Enter the maximum hops value here. This value must be between 6 and 40. hello_time - (Optional) Specifies the time interval for sending configuration BPDUs by the Root Bridge. The default value is 2 seconds.
Page 429
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Example To show STP: DGS-1510-28XMP/ME:admin# show stp Command: show stp STP Bridge Global Settings --------------------------- STP Status : Enabled STP Version : RSTP Max Age : 25 Hello Time Forward Delay : 15...
Page 430
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide 49-6 config stp instance_id Description This command is used to map or remove the VLAN range of the specified MST instance for the existed MST instances. Format config stp instance_id <value 1-7> [add_vlan | remove_vlan] <vidlist>...
Page 431
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Parameters <value 1-7> - Enter the MSTP instance ID here. This value must be between 1 and 7. Restrictions Only Administrators, Operators and Power-Users can issue this command. Example To delete an MSTP instance:...
Page 432
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide 49-9 show stp mst_config_id Description This command is used to show the MST configuration identification. Format show stp mst_config_id Parameters None. Restrictions None. Example show STP MST configuration ID: DGS-1510-28XMP/ME:admin# show stp mst_config_id...
Page 433
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide <value 1-200000000> - Enter the internal cost value here. This value must be between 1 and 200000000. priority - (Optional) Specifies the port priority value. <value 0-240> - Enter the port priority value here. This value must be between 0 and 240.
Page 434
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide false - Specifies that the port(s) is in Half-Duplex mode. auto - Specifies that the port(s) is in Full-Duplex and Half-Duplex mode. state - (Optional) Specifies whether this port supports the STP functionality.
Page 435
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Example To show STP ports: DGS-1510-28XMP/ME:admin# show stp ports Command: show stp ports MSTP Port Information ---------------------- Port Index , Hello Time: 2 /2 , Port STP : Enabled External PathCost : Auto/200000...
Page 436
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# config stp priority 61440 instance_id 0 Command: config stp priority 61440 instance_id 0 Success. DGS-1510-28XMP/ME:admin# 49-14 config stp version Description This command is used to enable STP globally. Format config stp version [mstp | rstp | stp] Parameters mstp - Specifies to run under Multiple Spanning Tree Protocol.
Page 437
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide 49-15 show stp instance Description This command is used to display each instance parameters settings. Value means the instance ID, if there is no input of this value, all instance will be shown.
Page 439
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide 50-2 config nlb unicast_fdb Description This command is used to add or delete the forwarding ports for the specified NLB unicast FDB entry. Format config nlb unicast_fdb <macaddr>[add | delete] <portlist> Parameters <macaddr>...
Page 440
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Example To delete the NLB unicast FDB entry, for the product that support the VLAN information on the unicast forwarding: DGS-1510-28XMP/ME:admin# delete nlb unicast_fdb 02-bf-01-01-01-01 Command: delete nlb unicast_fdb 02-BF-01-01-01-01 Success. DGS-1510-28XMP/ME:admin#...
Page 441
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Parameters <vlan_name 32> - Enter the VLAN of the NLB multicast FDB entry to be configured. vlanid - Specifies the VLAN by the VLAN ID. <vlanid> - Enter the VLAN ID here.
Page 442
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# delete nlb multicast_fdb default 03-bf-01-01-01-01 Command: delete nlb multicast_fdb default 03-bf-01-01-01-01 Success. DGS-1510-28XMP/ME:admin# 50-7 show nlb fdb Description This command is used to show the NLB Configured entry. Format show nlb fdb Parameters None.
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Chapter 51 Network Monitoring Command List show packet ports <portlist> show error ports <portlist> show utilization [cpu | ports] show utilization dram show utilization flash clear counters {ports <portlist>} 51-1 show packet ports Description This command is used to display statistics about the packets sent and received by the Switch.
Page 444
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# show packet ports 7 Command: show packet ports 7 Port Number : 7 ================================================================== Frame Size/Type Frame Counts Frames/sec --------------- ---------------------- ----------- 65-127 128-255 256-511 512-1023 1024-1518 Unicast RX Multicast RX...
Page 445
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# show error ports 3 Command: show error ports 3 Port Number : 3 RX Frames TX Frames --------- --------- CRC Error Excessive Deferral Undersize CRC Error Oversize Late Collision Fragment Excessive Collision...
Page 446
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# show utilization ports Command: show utilization ports Port TX/sec RX/sec Util Port TX/sec RX/sec Util ----- ---------- ---------- ---- ----- ---------- ---------- ---- CTRL+C ESC q Quit SPACE n Next Page...
Page 447
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide 51-4 show utilization dram Description This command is used to show DRAM memory utilization. Format show utilization dram Parameters None. Restrictions None. Example To display DRAM utilization: DGS-1510-28XMP/ME:admin# show utilization dram Command: show utilization dram...
Page 450
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide all - Specifies all ports are to be configured. mode - Specifies the operation mode. The default mode is active. active - Specifies to operate in active mode. passive - Specifies to operate in passive mode.
Page 451
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide stop - Specifies to request the peer to change to the normal operation mode. received_remote_loopback - Specifies receive remote loop-back. process - Specifies to process the received Ethernet OAM remote loopback command.
Page 452
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# config ethernet_oam ports 1 link_monitor error_frame_seconds threshold 2 window 10000 notify_state enable Command: config ethernet_oam ports 1 link_monitor error_frame_seconds threshold 2 window 10000 notify_state enable Success. DGS-1510-28XMP/ME:admin# To configure the error frame threshold to10 and period to 1000000 ms for port 1:...
Page 453
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide 52-2 show ethernet_oam ports Description This command is used to display Ethernet OAM information, including status, configuration, statistics, and event log, on specified ports. The status information includes: 1. OAM administration status: enabled or disabled.
Page 454
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide status - Specifies to display the Ethernet OAM status. configuration - Specifies to display the Ethernet OAM configuration. statistics - Specifies to display Ethernet OAM statistics. event_log - Specifies to display the Ethernet OAM event log information.
Page 455
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Parameters <portlist> - Enter a range of Ethernet OAM ports to be cleared. all - Specifies to clear all Ethernet OAM ports. event_log - Specifies to clear Ethernet OAM event log information.
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Chapter 53 Peripherals Command List show device_status show environment config temperature threshold {high <temperature -500-500> | low <temperature -500-500>}(1) config temperature [trap | log] state [enable | disable] 53-1 show device_status Description This command is used to display the current status of power(s) and right fan on the system.
Page 457
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Parameters None. Restrictions None. Example To display the device environment: DGS-1510-28XMP/ME:admin#show environment Command: show environment Temperature Trap State : Enabled Temperature Log State : Enabled Internal Power : (Not Support) External Power...
Page 458
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# config temperature threshold high 80 Command: config temperature threshold high 80 Success. DGS-1510-28XMP/ME:admin# 53-4 config temperature Description This command is used to configure the trap state for temperature warning event. Format...
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Chapter 54 Ping Command List ping <ipaddr> {times <value 1-255> | timeout <sec 1-99>} ping6 <ipv6addr> {times <value 1-255> | size <value 1-6000> | timeout <sec 1-99>} 54-1 ping Description This command is used to send Internet Control Message Protocol (ICMP) echo messages to a remote IP address.
Page 460
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide 54-2 ping6 Description This command is used to send IPv6 Internet Control Message Protocol (ICMP) echo messages to a remote IPv6 address. The remote IPv6 address will then “echo” or return the message. This is used to confirm the IPv6 connectivity between the Switch and the remote device.
Page 462
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# config port_security system max_learning_addr 256 Command: config port_security system max_learning_addr 256 Success. DGS-1510-28XMP/ME:admin# 55-2 config port_security ports Description This command is used to configure the admin state, the maximum number of addresses that can be learnt and the lock address mode.
Page 463
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Restrictions Only Administrators, Operators and Power-Users can issue this command. Example To configure the port-based port security setting so that the maximum number of port security entries is restricted to 10, and the lock address mode is set to permanent on port 6:...
Page 464
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# config port_security vlan vlanid 1 max_learning_addr 64 Command: config port_security vlan vlanid 1 max_learning_addr 64 Success. DGS-1510-28XMP/ME:admin# 55-4 delete port_security_entry Description This command is used to delete a port security entry.
Page 465
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Parameters ports - (Optional) Specifies a range of ports to be configured. <portlist> - Enter the port security entries learned on the specified port will be cleared. all - Specifies that all the port security entries learned by the system will be cleared.
Page 466
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Example To show all the port security entries: DGS-1510-28XMP/ME:admin# show port_security_entry Command: show port_security_entry MAC Address Port Lock Mode ----------------- ---- ----- --------------- 00-00-00-00-00-01 DeleteOnTimeout Total Entries: 1 DGS-1510-28XMP/ME:admin# 55-7 show port_security...
Page 467
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# show port_security Command: show port_security Port Security Trap/Log : Disabled System Maximum Address : 256 VLAN Configuration (Only VLANs with limitation are displayed) VLAN Name Max. Learning Addr. ---- -------------------------------- ------------------...
Page 468
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Format disable port_security trap_log Parameters None. Restrictions Only Administrators, Operators and Power-Users can issue this command. Example To prevent a port security trap from being sent from the Switch: DGS-1510-28XMP/ME:admin# disable port_security trap_log Command: disable port_security trap_log Success.
Page 469
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Chapter 56 Power over Ethernet (PoE) Command List (DGS-1510-28LP/ME and DGS-1510-28XMP/ME Only) config poe system {power_limit <value 37-193> | power_disconnect_method [deny_next_port | deny_low_priority_port] | legacy_pd [enable | disable]} (DGS-1510-28LP/ME Only) config poe system {power_limit <value 37-370> | power_disconnect_method [deny_next_port |...
Page 470
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide disable - Specifies that the legacy PDs detection status will be disabled. Restrictions Only Administrators, Operators and Power-Users can issue this command. Example To config PoE system-wise was setting: DGS-1510-28XMP/ME:admin# config poe system power_limit 150 power_disconnect_method...
Page 471
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Parameters ports - Specifies the list of ports whose setting is under configuration. all - Specifies that all the ports will be included in this configuration. <portlist> - Enter the list of ports used for this configuration here.
Page 472
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide 56-3 show poe system Description This command is used to display the setting and actual values of the whole PoE system. Format show poe system Parameters None. Restrictions None. Example To display PoE system:...
Page 473
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Format show poe ports {<portlist>} Parameters <portlist> - (Optional) Specifies a list of ports to be displayed. If no parameter is specified, the system will display the status for all ports. Restrictions None.
Page 474
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Chapter 57 PPPoE Circuit ID Insertions Command List config pppoe circuit_id_insertion state [enable | disable] config pppoe circuit_id_insertion ports <portlist> {state [enable | disable] | circuit_id [mac | ip | udf <string 32>]}(1)
Page 475
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide packet if the TAG is absent, and remove the Circuit ID TAG from the received PPPoE offer and session confirmation packet. Format config pppoe circuit_id_insertion ports <portlist> {state [enable | disable] | circuit_id [mac | ip | udf <string 32>]}(1)
Page 476
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Example To display PPPoE circuit ID insertion status: DGS-1510-28XMP/ME:admin# show pppoe circuit_id_insertion Command: show pppoe circuit_id_insertion Global PPPoE State: Enabled DGS-1510-28XMP/ME:admin# 57-4 show pppoe circuit_id_insertion ports Description This command is used to display Switch’s port PPPoE Circuit ID insertion configuration.
Page 478
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Format config dot1v_protocol_group [group_id <id> | group_name <name 32>] [add protocol [ethernet_2 | ieee802.3_snap | ieee802.3_llc] <protocol_value> | delete protocol [ethernet_2 | ieee802.3_snap | ieee802.3_llc] <protocol_value>] Parameters group_id - Specifies the ID of the protocol group which is used to identify a set of protocols.
Page 479
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide <name 32> - Enter the group name here. This name can be up to 32 characters long. all - Specifies that all the protocol group will be deleted. Restrictions Only Administrators, Operators and Power-Users can issue this command.
Page 480
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# show dot1v_protocol_group group_id 10 Command: show dot1v_protocol_group group_id 10 Protocol Group ID Protocol Group Name Frame Type Protocol Value ----------------- -------------------------------- -------------- -------------- General_Group EthernetII 86DD Total Entries: 1 DGS-1510-28XMP/ME:admin# 58-5...
Page 481
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Restrictions Only Administrators, Operators and Power-Users can issue this command. Example To configure the group ID 10 on port 3 to be associated with VLAN marketing-1: DGS-1510-28XMP/ME:admin# config port dot1v ports 3 add protocol_group group_id 10 vlan...
Page 482
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# show port dot1v ports 1 Command: show port dot1v ports 1 Port: 1 Protocol Group ID VLAN Name Protocol Priority ------------------- --------------------------------- ----------------- default VLAN2 VLAN3 VLAN4 Success. DGS-1510-28XMP/ME:admin#...
Page 484
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide 59-2 disable qinq Description This command is used to disable the QinQ. When QinQ is disabled, all dynamic learned L2 addresses will be cleared, all dynamic registered VLAN entries will be cleared, and GVRP will be disabled.
Page 485
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# config qinq inner_tpid 0x9100 Command: config qinq inner_tpid 0x9100 Success. DGS-1510-28XMP/ME:admin# 59-4 config qinq ports Description This command is used to configure the QinQ port's parameters. Format config qinq ports [<portlist> | all] {role [uni | nni] | missdrop [enable | disable] | outer_tpid <hex 0x1-0xffff> | add_inner_tag [<hex 0x1-0xffff>...
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide 59-5 show qinq Description This command is used to display the global QinQ status. Format show qinq Parameters None. Restrictions None. Example To display the global QinQ status: DGS-1510-28XMP/ME:admin# show qinq Command: show qinq...
Page 487
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# show qinq inner_tpid Command: show qinq inner_tpid Inner TPID: 0x9100 DGS-1510-28XMP/ME:admin# 59-7 show qinq ports Description This command is used to display the QinQ configuration of the ports. Format show qinq ports {<portlist>} Parameters <portlist>...
Page 488
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide 59-8 create vlan_translation ports Description This command is used to create a VLAN translation rule. This setting will not be effective when the QinQ mode is disabled. This configuration is only effective for a UNI port. At UNI port, the ingress C-VLAN tagged packets will be translated to S-VLAN tagged packets by adding or replacing according the configured rule.
Page 489
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# create vlan_translation ports 1 add cvid 30 svid 300 Command: create vlan_translation ports 1 add cvid 30 svid 300 Success. DGS-1510-28XMP/ME:admin# 59-9 delete vlan_translation ports Description This command is used to delete translation relationships between the C-VLAN and the S-VLAN.
Page 490
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Parameters ports – (Optional) Specifies a list of ports to be displayed. <portlist> - Enter the list of ports to be displayed here. cvid - (Optional) Specifies the rules for the specified CVIDs.
Page 491
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Chapter 60 Quality of Service (QoS) Command List config bandwidth_control [<portlist> | all] {rx_rate [no_limit | <value 64-10240000>] | tx_rate [ no_limit | <value 64-10240000>]} show bandwidth_control {<portlist>} config per_queue bandwidth_control {ports [<portlist> | all ]} <cos_id_list 0-7> {{min_rate [no_limit | <value 64- 10240000>]} max_rate [no_limit | <value 64-10240000>]}(1)
Page 492
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide rx_rate - (Optional) Specifies the limitation applied to receive data rate. no_limit - Specifies that there is no limit on receiving bandwidth of the configured ports. An integer value from m to n sets a maximum limit in Kbits/sec. The actual bandwidth will be an adjusted value based on the user specified bandwidth.
Page 493
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Restrictions None. Example To display port bandwidth control table: DGS-1510-28XMP/ME:admin# show bandwidth_control 1-10 Command: show bandwidth_control 1-10 Bandwidth Control Table Port RX Rate TX Rate Effective RX Effective TX (Kbit/sec) (Kbit/sec) (Kbit/sec)
Page 494
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide no_limit - Specifies that there will be no limit on the rate of packets received by the above specified class. <value 64-10240000> - Specifies the packet limit, in Kbps, that the above ports will be allowed to receive. If the specified rate is not multiple of minimum granularity, the rate will be adjusted.
Page 495
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# show per_queue bandwidth_control 10 Command: show per_queue bandwidth_control 10 Queue Bandwidth Control Table On Port: 10 Queue Min Rate(Kbit/sec) Max Rate(Kbit/sec) No Limit No Limit No Limit No Limit No Limit...
Page 496
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# config scheduling ports 10 1 weight 25 Command: config scheduling ports 10 1 weight 25 Success. DGS-1510-28XMP/ME:admin# 60-6 config scheduling_mechanism Description This command is used to configure the traffic scheduling mechanism for each CoS queue.
Page 497
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide 60-7 show scheduling Description This command is used to display the current traffic scheduling parameters. Format show scheduling {<portlist>} Parameters <portlist> - (Optional) Specifies a range of ports to be displayed. If no parameter is specified, system will display all ports scheduling configurations.
Page 498
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Parameters <portlist> - (Optional) Specifies a range of ports to be displayed. If no parameter is specified, system will display all ports scheduling mechanism configurations. Restrictions None. Example To show scheduling mechanism:...
Page 499
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide 60-9 config 802.1p user_priority Description This command is used to map the 802.1p user priority of an incoming packet to one of the eight hardware queues available on the Switch. Format config 802.1p user_priority <priority 0-7> <class_id 0-7>...
Page 500
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# show 802.1p user_priority Command: show 802.1p user_priority QOS Class of Traffic: Priority-0 -> <Class-2> Priority-1 -> <Class-0> Priority-2 -> <Class-1> Priority-3 -> <Class-3> Priority-4 -> <Class-4> Priority-5 -> <Class-5> Priority-6 ->...
Page 501
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide 60-12 show 802.1p default_priority Description This command is used to display the current configured default priority settings on the Switch. The default priority can also be assigned by the RADIUS server through the authentication process. The authentication with the RADIUS sever can be per port or port user.
Page 502
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Parameters None. Restrictions Only Administrators, Operators and Power-Users can issue this command. Example To enable HOL prevention on the Switch: DGS-1510-28XMP/ME:admin#enable hol_prevention Command: enable hol_prevention Success. DGS-1510-28XMP/ME:admin# 60-14 disable hol_prevention Description This command is used to disable head of line prevention on the Switch.
Page 503
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Format show hol_prevention Parameters None. Restrictions None. Example To display HOL prevention state on the Switch. DGS-1510-28XMP/ME:admin#show hol_prevention Command: show hol_prevention Device HOL Prevention State: Enabled DGS-1510-28XMP/ME:admin# 60-16 config 802.1p map Description This command is used to configure the mapping of 802.1p to the packet’s initial color.
Page 504
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Example If a product supports per-port 802.1p mapping configuration, configure the mapping of 802.1p priority 1 to red on ports 1-8. DGS-1510-28XMP/ME:admin# config 802.1p map 1-8 1p_color 1 to red Command: config 802.1p map 1-8 1p_color 1 to red Success.
Page 505
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Parameters <portlist> - Enter a list of ports used for this configuration. all - Specifies that the command apply to all ports on the Switch. state - Enable or disable to trust DSCP.
Page 506
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# show dscp trust 1-8 Command: show dscp trust 1-8 Port DSCP-Trust ---- ---------- Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled DGS-1510-28XMP/ME:admin# 60-20 config dscp map Description This command is used to configure DSCP mapping. The mapping of DSCP to priority will be used to determine the priority of the packet (which will be then used to determine the scheduling queue) when the port is in DSCP trust state.
Page 507
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide red - Specifies the result color of mapping to be red. yellow - Specifies the result color of mapping to be yellow. Restrictions Only Administrators, Operators and Power-Users can issue this command.
Page 508
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Example To show DSCP map configuration on port 1: DGS-1510-28XMP/ME:admin# show dscp map 1 dscp_dscp Command: show dscp map 1 dscp_dscp DSCP to DSCP Mapping: -------------------------------------------------------------- Port 1 -----------+-------------------------------------------------- -------------------------------------------------------------- DGS-1510-28XMP/ME:admin#...
Page 510
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide <sec 1-255> - Enter the timeout value here. This value must be between 1 and 255 seconds. retransmit - Specifies the count for re-transmitting. The default value is 2. <int 1-20> - Enter the re-transmit value here. This value must be between 1 and 20.
Page 511
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide 61-3 config radius Description This command is used to configure a RADIUS server. Format config radius <server_index 1-3> {ipaddress <server_ip> | [key <password 32>] | auth_port [<udp_port_number 1-65535> | default] | acct_port [<udp_port_number 1-65535> | default] | timeout [<sec 1-255>...
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide 61-4 show radius Description This command is used to display RADIUS server configurations. Format show radius Parameters None. Restrictions None. Example To display RADIUS server configurations: DGS-1510-28XMP/ME:admin# show radius Command: show radius...
Page 513
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Example To display authenticator statistics information for port 1: DGS-1510-28XMP/ME:admin# show auth_statistics ports 1 Command: show auth_statistics ports 1 Port Number : 1 EapolFramesRx EapolFramesTx EapolStartFramesRx EapolReqIdFramesTx EapolLogoffFramesRx EapolReqFramesTx EapolRespIdFramesRx EapolRespFramesRx InvalidEapolFramesRx...
Page 514
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# show auth_diagnostics ports 1 Command: show auth_diagnostics ports 1 Port Number : 1 EntersConnecting EapLogoffsWhileConnecting EntersAuthenticating SuccessWhileAuthenticating TimeoutsWhileAuthenticating FailWhileAuthenticating ReauthsWhileAuthenticating EapStartsWhileAuthenticating EapLogoffWhileAuthenticating ReauthsWhileAuthenticated EapStartsWhileAuthenticated EapLogoffWhileAuthenticated BackendResponses BackendAccessChallenges BackendOtherRequestsToSupplicant BackendNonNakResponsesFromSupplicant BackendAuthSuccesses BackendAuthFails...
Page 515
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# show auth_session_statistics ports 1 Command: show auth_session_statistics ports 1 Port Number : 1 SessionOctetsRx SessionOctetsTx SessionFramesRx SessionFramesTx SessionId SessionAuthenticMethod Remote Authentication Server SessionTime SessionTerminateCause SupplicantLogoff SessionUserName CTRL+C ESC q Quit SPACE n...
Page 517
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# show acct_client Command: show acct_client radiusAcctClient ==> radiusAcctClientInvalidServerAddresses radiusAcctClientIdentifier radiusAuthServerEntry ==> radiusAccServerIndex : 1 radiusAccServerAddress 0.0.0.0 radiusAccClientServerPortNumber radiusAccClientRoundTripTime radiusAccClientRequests radiusAccClientRetransmissions radiusAccClientResponses radiusAccClientMalformedResponses radiusAccClientBadAuthenticators radiusAccClientPendingRequests radiusAccClientTimeouts radiusAccClientUnknownTypes radiusAccClientPacketsDropped DGS-1510-28XMP/ME:admin# 61-10 config accounting service Description This command is used to configure the state of the specified RADIUS accounting service.
Page 518
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Example To enable it to configure accounting shell state: DGS-1510-28XMP/ME:admin# config accounting service shell state enable Command: config accounting service shell state enable Success. DGS-1510-28XMP/ME:admin# 61-11 show accounting service Description This command is used to show the status of RADIUS accounting services.
Page 522
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Restrictions Only Administrators, Operators and Power-Users can issue this command. Example To enable SSH server public key algorithm: DGS-1510-28XMP/ME:admin# config ssh algorithm DSA enable Command: config ssh algorithm DSA enable Success. DGS-1510-28XMP/ME:admin#...
Page 524
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Example To configure user authentication method: DGS-1510-28XMP/ME:admin# config ssh authmode publickey enable Command: config ssh authmode publickey enable Success. DGS-1510-28XMP/ME:admin# 63-4 show ssh authmode Description This command is used to show the user authentication method.
Page 525
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Parameters <username 15> - Enter the user name used here. This name can be up to 15 characters long. automode - Specifies user authentication method. hostbased - Specifies as host-based method. hostname - Specifies host domain name.
Page 526
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# show ssh user authmode Command: show ssh user authmode Current Accounts Username AuthMode HostName HostIP ------------- ------------- ------------ ------------- test Public Key alpha Host-based alpha-local 172.18.61.180 beta Host-based beta-local 3000::105 Total Entries : 3...
Page 527
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# config ssh server maxsession 3 Command: config ssh server maxsession 3 Success. DGS-1510-28XMP/ME:admin# 63-8 enable ssh Description This command is used to enable SSH server services. Format enable ssh Parameters None.
Page 528
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Example To disable the SSH server services: DGS-1510-28XMP/ME:admin# disable ssh Command: disable ssh Success. DGS-1510-28XMP/ME:admin# 63-10 show ssh server Description This command is used to show the SSH server general information. Format...
Page 530
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# download ssl certificate 10.55.47.1 certfilename cert.der keyfilename pkey.der Command: download ssl certificate 10.55.47.1 certfilename cert.der keyfilename pkey.der Success. DGS-1510-28XMP/ME:admin# 64-2 enable ssl Description This command is used to enable SSL status and it’s cipher suites. The enable ssl command will enable both SSLv3 and TLSv1.
Page 531
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide To enable SSL: DGS-1510-28XMP/ME:admin# enable ssl Command: enable ssl Success. DGS-1510-28XMP/ME:admin# 64-3 disable ssl Description This command is used to disable SSL feature and supported cipher suites. To disable the status of one specific cipher suite, user must specify it in this command.
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# disable ssl Command: disable ssl Success. DGS-1510-28XMP/ME:admin# 64-4 show ssl Description This command is used to display the certificate status. User must download specified certificate type according to desired key exchange algorithm. The options may be no certificate, RSA type or DSA type certificate...
Page 533
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide 64-5 show ssl cachetimeout Description This command is used to show cache timeout value which is designed for dlktimer library to remove the session id after expired. In order to support the resume session feature, the SSL library keep the session id in web server, and invoking the dlktimer library to remove this session id by cache timeout value.
Page 534
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Example To configure the SSL cache timeout value to 60: DGS-1510-28XMP/ME:admin# config ssl cachetimeout 60 Commands: config ssl cachetimeout 60 Success. DGS-1510-28XMP/ME:admin#...
Page 535
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Chapter 65 Show Technical Support Command List show tech_support upload tech_support_toTFTP {<ipaddr> <path_filename 64>} 65-1 show tech_support Description This command is especially used by the technical support personnel to dump the device overall operation information.
Page 536
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# show tech_support Command: show tech_support #------------------------------------------------------------------------------- DGS-1510-28XMP/ME Gigabit Ethernet Switch Technical Support Information Firmware: Build 1.00.018 Copyright(C) 2015 D-Link Corporation. All rights reserved. #------------------------------------------------------------------------------- ******************** Basic System Information ******************** [SYS 2015-4-8 11:55:18]...
Page 537
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Parameters <ipaddr> - (Optional) Enter the IP address of TFTP server. <path_filename 64> - Enter the file name to store the information of technique’s support in TFTP server. The max size of the file name is 64.
Page 538
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Chapter 66 Simple Mail Transfer Protocol (SMTP) Command List enable smtp disable smtp config smtp {server <ipaddr> | server_port <tcp_port_number 1-65535> | self_mail_addr <mail_addr 64> | [add mail_receiver <mail_addr 64> | delete mail_receiver <index 1-8>]}(1)
Page 539
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Parameters None. Restrictions Only Administrators can issue this command. Example To disable SMTP status: DGS-1510-28XMP/ME:admin# disable smtp Command: disable smtp Success. DGS-1510-28XMP/ME:admin# 66-3 config smtp Description This command is used to configure SMTP settings.
Page 540
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# config smtp server 172.18.208.9 Command: config smtp server 172.18.208.9 Success. DGS-1510-28XMP/ME:admin# To configure an SMTP server port: DGS-1510-28XMP/ME:admin# config smtp server_port 25 Command: config smtp server_port 25 Success. DGS-1510-28XMP/ME:admin# To configure a mail source address: DGS-1510-28XMP/ME:admin# config smtp self_mail_addr mail@dlink.com...
Page 541
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Parameters None. Restrictions None. Example To display the current SMTP information: DGS-1510-28XMP/ME:admin# show smtp Command: show smtp SMTP Status : Disabled SMTP Server Address : 172.18.208.9 SMTP Server Port : 25 Self Mail Address : mail@dlink.com...
Page 542
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Example To test whether the SMTP server can be reached: DGS-1510-28XMP/ME:admin# smtp send_testmsg Command: smtp send_testmsg Subject:e-mail heading Content:e-mail content Sending mail, please wait... Success. DGS-1510-28XMP/ME:admin#...
Page 543
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Chapter 67 Simple Network Management Protocol (SNMP) Command List create snmp community <community_string 32> view <view_name 32> [read_only | read_write] delete snmp community <community_string 32> show snmp community {<community_string 32>} create snmp user <user_name 32> <groupname 32> {encrypted [by_password auth [md5 <auth_password 8- 16>...
Page 544
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide 67-1 create snmp community Description This command is used to create an SNMP community string. Use an SNMP community string to define the relationship between the SNMP manager and the agent. The community string acts like a password to permit access to the agent on the Switch.
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Format delete snmp community <community_string 32> Parameters <community_string 32> - Enter the community string value to be deleted. This value can be up to 32 characters long. Restrictions Only Administrators can issue this command.
Page 546
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# show snmp community Command: show snmp community SNMP Community Table Community Name View Name Access Right ------------------------------- ---------------------- ------------ private CommunityView read_write public CommunityView read_only Total Entries : 2 DGS-1510-28XMP/ME:admin# 67-4...
Page 547
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide des - Specifies that the DES encryption will be used for the privacy key. <priv_key 32-32> - Enter the DES privacy key here. This value must be 32 characters long. Restrictions Only Administrators can issue this command.
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide 67-6 show snmp user Description This command is used to display information on each SNMP username in the group username table. Format show snmp user Parameters None. Restrictions None. Example To show SNMP user:...
Page 549
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide auth_priv - Specifies to support packet authentication and encrypting. read_view - (Optional) Specifies that the view name would be read. <view_name 32> - Enter the read view name here. This name can be up to 32 characters long.
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# delete snmp group group123 Command: delete snmp group group123 Success. DGS-1510-28XMP/ME:admin# 67-9 show snmp groups Description This command is used to display the names of groups on the Switch and the security model, level, the status of the different views.
Page 551
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# show snmp groups Command: show snmp groups Vacm Access Table Settings Group Name : public ReadView Name : CommunityView WriteView Name Notify View Name : CommunityView Securiy Model : SNMPv1 Securiy Level...
Page 552
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide view_type - Specifies the access type of the MIB tree in this view. included - Specifies to include for this view. excluded - Specifies to exclude for this view. Restrictions Only Administrators can issue this command.
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide 67-12 show snmp view Description This command is used to display the SNMP view record. Format show snmp view {<view_name 32>} Parameters <view_name 32> - (Optional) Enter the view name here. The name can be up to 32 characters long.
Page 554
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Parameters <ipaddr> - Enter the IP address of the recipient for which the traps are targeted. v1 - Specifies the least secure of the possible security models. v2c - Specifies the second least secure of the possible security models.
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# delete snmp host 10.0.0.1 Command: delete snmp host 10.0.0.1 Success. DGS-1510-28XMP/ME:admin# 67-15 show snmp host Description This command is used to display the recipient for which the traps are targeted. Format show snmp host {<ipaddr>}...
RFC2271. The very first bit is 1, and the first four octets are set to the binary equivalent of the agent’s SNMP management private enterprise number as assigned by IANA, D-Link is 171. The fifth octet is 03 to indicates the rest is the MAC address of this device.
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin#show snmp engineID Command: show snmp engineID SNMP Engine ID : 800000ab03000102e30400 DGS-1510-28XMP/ME:admin# 67-18 enable snmp Description This command is used to enable the SNMP function. Format enable snmp Parameters None. Restrictions Only Administrators and Operators can issue this command.
Page 558
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Example To disable SNMP: DGS-1510-28XMP/ME:admin# disable snmp Command: disable snmp Success. DGS-1510-28XMP/ME:admin# 67-20 config snmp system_name Description This command is used to configure the name for the Switch. Format config snmp system_name {<sw_name>} Parameters <sw_name>...
Page 559
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Parameters <sw_location> - (Optional) Enter the system location string with a maximum of 128 characters here. Restrictions Only Administrators and Operators can issue this command. Example To configure the Switch location for “HQ 5F”:...
Page 560
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Format enable snmp traps Parameters None. Restrictions Only Administrators and Operators can issue this command. Example To enable SNMP trap support: DGS-1510-28XMP/ME:admin# enable snmp traps Command: enable snmp traps Success. DGS-1510-28XMP/ME:admin# 67-24 disable snmp traps Description This command is used to disable SNMP trap support on the Switch.
Page 561
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide 67-25 enable snmp authenticate_traps Description This command is used to enable SNMP authentication failure trap support. Format enable snmp authenticate_traps Parameters None. Restrictions Only Administrators and Operators can issue this command. Example...
Page 562
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# disable snmp authenticate_traps Command: disable snmp authenticate_traps Success. DGS-1510-28XMP/ME:admin# 67-27 enable snmp linkchange_traps Description This command is used to configure the sending of linkchange traps. Format enable snmp linkchange_traps Parameters None.
Page 563
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Example To disable the sending of linkchange traps: DGS-1510-28XMP/ME:admin# disable snmp linkchange_traps Command: disable snmp linkchange_traps Success. DGS-1510-28XMP/ME:admin# 67-29 config snmp linkchange_traps ports Description This command is used to configure the sending of linkchange traps and per port control for sending of change trap.
Page 564
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Format config snmp coldstart_traps [enable | disable] Parameters enable - Specifies to enable the trap of the coldstart event. This is the default option. disable - Specifies to disable the trap of the coldstart event.
Page 565
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# config snmp warmstart_traps enable Command: config snmp warmstart_traps enable Success. DGS-1510-28XMP/ME:admin# 67-32 show snmp traps Description This command is used to display the SNMP trap sending status. Format show snmp traps {linkchange_traps {ports <portlist>}} Parameters linkchange_traps - (Optional) Specifies that the SNMP trap sending status will be displayed.
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Parameters rising_alarm - Specifies the trap state for rising alarm. The default state is enabled. enable - Specifies that the rising alarm function will be enabled. disable - Specifies that the rising alarm function will be disabled.
Page 567
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# show rmon Command: show rmon RMON Rising Alarm Trap : Enabled RMON Falling Alarm Trap : Enabled DGS-1510-28XMP/ME:admin#...
Page 568
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Chapter 68 Single IP Management Command List enable sim disable sim show sim {[candidates {<candidate_id 1-100>} | members {<member_id 1-32>} | group {commander_mac <macaddr>} | neighbor]} reconfig {member_id <value 1-32> | exit} config sim_group [add <candidate_id 1-100>...
Page 569
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide 68-2 disable sim Description This command is used to disable single IP management on the Switch. Format disable sim Parameters None. Restrictions Only Administrators, Operators and Power-Users can issue this command. Example...
Page 570
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Restrictions None. Example To show the self-information in detail: DGS-1510-28XMP/ME:admin#show sim Command: show sim SIM Version : VER-1.61 Firmware Version : 1.00.018 Device Name MAC Address : 00-01-02-E3-04-00 Capabilities : L2 Platform...
Page 571
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28LP/ME:admin#show sim members Command: show sim members MAC Address Platform / Hold Firmware Device Name Capability Time Version --- ----------------- ------------------------ ----- --------- ---------------- 00-01-02-03-A4-00 DGS-1510-28X/ME 1.00.010 L2 Switch 00-01-02-03-E4-00 DGS-1510-52L/ME 1.00.010...
Page 572
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28LP/ME:admin#show sim neighbor Command: show sim neighbor Neighbor Info Table Port MAC Address Role ------ ------------------ --------- 00-01-02-03-B4-00 Commander 00-01-02-03-E4-00 Candidate Total Entries: 4 DGS-1510-28LP/ME:admin# 68-4 reconfig Description This command is used to re-telnet to member.
Page 573
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Format config sim_group [add <candidate_id 1-100> {<password>} | delete <member_id 1-32>] Parameters add - Specifies to add a specific candidate to the group. <candidate_id 1-100> - Enter the candidate ID to be added to the group here. This value must be between 1 and 100.
Page 574
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Format config sim [{[commander {group_name <groupname 64>} | candidate] | dp_interval <sec 30-90> | hold_time <sec 100-255>}] Parameters commander - (Optional) Specifies to transfer the role to the commander. group_name - (Optional) Specifies that if the user is the commander, the user can update the name of group.
Page 575
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# config sim dp_interval 30 Command: config sim dp_interval 30 Success. DGS-1510-28XMP/ME:admin# To change the hold time of discovery protocol: DGS-1510-28XMP/ME:admin# config sim hold_time 200 Command: config sim hold_time 200 Success. DGS-1510-28XMP/ME:admin#...
Page 576
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# download sim_ms configuration_from_tftp 10.55.47.1 D:\dwl600x.tfp members 1 Commands: download sim_ms configuration_from_tftp 10.55.47.1 D:\dwl600x.tfp members 1 This device is updating configuration. Please wait several minutes ... Download Status : MAC Address Result...
Page 577
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Example To upload configuration: DGS-1510-28XMP/ME:admin# upload sim_ms configuration_to_tftp 10.55.47.1 D:\configuration.txt members 1 Command: upload sim_ms configuration_to_tftp 10.55.47.1 D:\configuration.txt members 1 This device is uploading configuration. Please wait several minutes ... Upload Status :...
Page 578
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Chapter 69 Syslog and Trap Source-interface Command List config syslog source_ipif [<ipif_name 12> {<ipaddr>} | none] show syslog source_ipif config trap source_ipif [<ipif_name 12> {<ipaddr>} | none] show trap source_ipif 69-1 config syslog source_ipif Description This command is used to configure syslog source IP interface.
Page 579
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# config syslog source_ipif none Command: config syslog source_ipif none Success DGS-1510-28XMP/ME:admin# 69-2 show syslog source_ipif Description This command is used to display the syslog source IP interface. Format show syslog source_ipif Parameters None.
Page 580
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide addresses. <ipaddr> - (Optional) Enter the IP address used for the configuration here. none - Specifies to clear the configured source IP interface. Restrictions Only Administrators and Operators can issue this command.
Page 581
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# show trap source_ipif Command: show trap source_ipif Trap Source IP Interface Configuration: IP Interface : System IPv4 Address : None DGS-1510-28XMP/ME:admin#...
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# show log index 1-3 Command: show log index 1-3 Index Date Time Level Log Text ----- ---------- -------- ------- ---------------------------------------------- 2000-01-01 00:00:40 CRIT(2) System started up 2000-01-01 00:00:40 CRIT(2) System cold start 2000-01-01 01:49:30 INFO(6) Anonymous: execute command "reset system".
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Parameters None. Restrictions Only Administrators and Operators can issue this command. Example To enable the sending of syslog messages: DGS-1510-28XMP/ME:admin# enable syslog Command: enable syslog Success. DGS-1510-28XMP/ME:admin# 70-5 disable syslog Description This command is used to disable the sending of syslog messages.
Page 586
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Format show syslog Parameters None. Restrictions None. Example To display the syslog protocol global state: DGS-1510-28XMP/ME:admin# show syslog Command: show syslog Syslog Global State: Enabled DGS-1510-28XMP/ME:admin# 70-7 create syslog host Description This command is used to create a new syslog host. The user can choose and report specific levels of messages to a specific host.
Page 587
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Processes and daemons that have not been explicitly assigned a Facility may use any of the "local use" facilities or they may use the "user-level" Facility. Those Facilities that have been designated are shown below.
Page 589
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Format delete syslog host [<index 1-4> | all] Parameters <index> - Enter the host index value here. all - Specifies that all the host indexes will be used. Restrictions Only Administrators and Operators can issue this command.
Page 590
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# show syslog host Command: show syslog host Syslog Global State: Disabled Host IP Address : 10.90.90.1 Severity : Debug(7) Facility : Local0 UDP Port : 514 Status : Disabled Total Entries : 1...
Page 591
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide 70-12 show log_save_timing Description This command is used to show the method for saving the log. Format show log_save_timing Parameters None. Restrictions None. Example To show the timing method used for saving the log:...
Page 592
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Example To show dangerous messages on the master: DGS-1510-28XMP/ME:admin# show attack_log index 1 Command: show attack_log index 1 Index Date Time Level Log Text ----- ---------- -------- -------- --------------------------------------------- 2008-10-17 15:00:14 CRIT(2)
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Chapter 71 System Severity Command List config system_severity [trap | log | all] [emergency | alert| critical | error | warning | notice | information | debug | <level 0-7>] show system_severity...
Page 594
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# config system_severity trap warning Command: config system_severity trap warning Success. DGS-1510-28XMP/ME:admin# 71-2 show system_severity Description This command is used to display the severity level controls for the system. Format show system_severity Parameters None.
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Chapter 72 Telnet Client Command List telnet <ipaddr> {tcp_port <value 1-65535>} 72-1 telnet Description This command is used to start the telnet client to connect to the specific telnet server. The parameters specified by the command will only be used for the establishment of this specific session.
Page 597
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide cfg_fromTFTP – Specifies to download a configuration file from a TFTP server. <ipaddr> - (Optional) Enter the IP address of the TFTP server. src_file - (Optional) Specifies to identify the parameter “path_filename”.
Page 598
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide To download configuration from TFTP: DGS-1510-28XMP/ME:admin# download cfg_fromTFTP 10.54.71.1 src_file cfg01.txt Command: download cfg_fromTFTP 10.54.71.1 src_file cfg01.txt Connecting to server....…. Done. Download configuration....Done. DGS-1510-28XMP/ME:admin# 73-2 upload Description This command is used to upload firmware and configuration from device to TFTP/FTP server.
Page 599
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide exclude - (Optional) Specifies to exclude lines that contain the specified filter string. begin - (Optional) Specifies the first line that contains the specified filter string will be the first line of the output.
Page 600
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide exclude - (Optional) Specifies to exclude lines that contain the specified filter string. begin - (Optional) Specifies the first line that contains the specified filter string will be the first line of the output.
Page 601
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide <tcp_port_number1-65535> - Enter a value between 1 and 65535. dest_file - Specifies to identify the parameter “path_filename”. <path_filename 64> - Enter the pathname specifies the pathname on the FTP server. It can be a relative pathname or an absolute pathname.
Page 602
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide To display a scenario where the uploading of the config file to the TFTP server failed, because of an incorrect or missing filename from the source. This error can also be found if the directory, on the source, does not exit.
Page 603
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide tech_support_file - (Optional) Specifies specifying the pathname supports “upload tech_support_toTFTP” function. <path_filename 64> - Enter specifying the pathname supports “upload tech_support_toTFTP” function. debug_error_log_file - (Optional) Specifies the pathname supports “debug error_log” function.
Page 604
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Parameters None. Restrictions None. Example To show TFTP settings, if pre-configure server IPv4 address, firmware_file and cfg_file only: DGS-1510-28XMP/ME:admin# show tftp Command: show tftp TFTP Server Settings IPv4 Address : 10.90.90.1 File Type...
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# config sntp primary 10.1.1.1 secondary 10.1.1.2 poll-interval 30 Command: config sntp primary 10.1.1.1 secondary 10.1.1.2 poll-interval 30 Success. DGS-1510-28XMP/ME:admin# 74-2 show sntp Description This command is used to display SNTP current time source and configuration.
Page 607
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Restrictions Only Administrators and Operators can issue this command. Example To enable SNTP: DGS-1510-28XMP/ME:admin# enable sntp Command: enable sntp Success. DGS-1510-28XMP/ME:admin# 74-4 disable sntp Description This command is used to turn off SNTP support.
Page 608
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Parameters <date ddmthyyyy> - Specifies the system clock date. An example would look like this: '30jun2010'. <time hh:mm:ss> - Specifies the system clock time. An example would look like this: '12:00:00'. Restrictions Only Administrators and Operators can issue this command.
Page 609
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# config time_zone operator + hour 2 min 30 Command: config time_zone operator + hour 2 min 30 Success. DGS-1510-28XMP/ME:admin# 74-7 config dst Description This command is used to configure Daylight Saving Time of the device.
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide 90 - Specifies that the offset range will 90 minutes. 120 - Specifies that the offset range will 120 minutes. annual - Specifies to set the Daylight Saving Time to annual mode.
Page 611
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Format show time Parameters None. Restrictions None. Example To show time: DGS-1510-28XMP/ME:admin# show time Command: show time Current Time Source : System Clock Boot Time : 9 May 2011 06:20:55 Current Time : 9 May 2011...
Page 613
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide 75-2 traceroute6 Description This command is used to trace the IPv6 routed path between the Switch and a destination end station. Format traceroute6 <ipv6addr> {ttl <value 1-60> | port <value 30000-64900> | timeout <sec 1-65535> | probe <value 1-9>}...
Page 614
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# traceroute6 1210:100::11 port 40000 Command: traceroute6 1210:100::11 port 40000 <10 ms. 3100::25 <10 ms. 4130::100 <10 ms. 1210:100::11 Trace complete. DGS-1510-28XMP/ME:admin#...
Page 616
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide countdown - (Optional) Specifies timer for shutdown mode. If a port enters the shutdown Rx state and this timer runs out, port will be shutdown forever. The parameter is not applicable if “drop” (mode) is specified for the “action”...
Page 617
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Example To enable both the occurred mode and cleared mode traffic control traps: DGS-1510-28XMP/ME:admin# config traffic trap both Command: config traffic trap both Success. DGS-1510-28XMP/ME:admin# 76-3 show traffic control Description This command is used to display the current traffic control settings.
Page 618
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# show traffic control 1-10 Command: show traffic control 1-10 Traffic Control Trap : [Both] Traffic Control Log : Enabled Traffic Control Auto Recover Time: 0 Minutes Port Thres Broadcast Multicast Unicast...
Page 619
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Example To configure the traffic log state on the Switch: DGS-1510-28XMP/ME:admin# config traffic control log state enable Command: config traffic control log state enable Success. DGS-1510-28XMP/ME:admin# 76-5 config traffic control auto_recover_time Description This command is used to configure the traffic auto recover time that allowed for a port to recover from shutdown forever status.
Page 620
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Chapter 77 Traffic Segmentation Command List config traffic_segmentation [<portlist> | all] forward_list [null | all | <portlist>] show traffic_segmentation {<portlist>} 77-1 config traffic_segmentation Description This command is used to configure the traffic segmentation.
Page 621
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Format show traffic_segmentation {<portlist>} Parameters <portlist> - (Optional) Enter a range of ports to be displayed. If no parameter is specified, the system will display all current traffic segmentation tables. Restrictions None.
Page 623
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# create trusted_host 10.48.74.121 Command: create trusted_host 10.48.74.121 Success. DGS-1510-28XMP/ME:admin# 78-2 delete trusted_host Description This command is used to delete a trusted host entry made using the create trusted_host command above. Format delete trusted_host [ipaddr <ipaddr>...
Page 624
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Parameters <ipaddr> - Enter the IP address of the trusted host. network - Specifies the network address of the trusted network. The form of network address is xxx.xxx.xxx.xxx/y. <network_address> - Enter the network address used here.
Page 625
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Example To display trusted host: DGS-1510-28XMP/ME:admin# show trusted_host Command: show trusted_host Management Stations IP Address Access Interface ---------------------------------------------------------------- 10.48.74.121 SNMP Telnet SSH HTTP HTTPs Ping Total Entries: 1 DGS-1510-28XMP/ME:admin#...
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Chapter 79 Unicast Routing Command List create iproute [default] <ipaddr> {<metric 1-65535>} delete iproute [default] show iproute {<network_address>} {static} 79-1 create iproute Description This command is used to create an IP static route.
Page 627
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Parameters default - Specifies to delete an IP default route (0.0.0.0/0). Restrictions Only Administrators, Operators and Power-Users can issue this command. Example To delete an IP default route: DGS-1510-28XMP/ME:admin# delete iproute default 10.1.1.254 Command: delete iproute default 10.1.1.254...
Page 628
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# show iproute Command: show iproute Routing Table IP Address/Netmask Gateway Interface Cost Protocol ------------------ --------------- ------------ -------- -------- 10.1.1.0/24 0.0.0.0 System Local 192.168.1.0/24 0.0.0.0 Local Total Entries : 2 DGS-1510-28XMP/ME:admin#...
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Chapter 80 VLAN Trunking Command List enable vlan_trunk disable vlan_trunk config vlan_trunk ports [<portlist> | all] | state [enable | disable] show vlan_trunk 80-1 enable vlan_trunk Description This command is used to enable the VLAN trunk function. When the VLAN trunk function is enabled, the VLAN trunk ports shall be able to forward all tagged frames with any VID.
Page 630
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Restrictions Only Administrators can issue this command. Example To disable the VLAN Trunk: DGS-1510-28XMP/ME:admin# disable vlan_trunk Command: disable vlan_trunk Success. DGS-1510-28XMP/ME:admin# 80-3 config vlan_trunk Description This command is used to configure a port as a VLAN trunk port. By default, none of the port is a VLAN trunk port.
Page 631
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Restrictions Only Administrators can issue this command. Example To configure VLAN trunk ports: DGS-1510-28XMP/ME:admin# config vlan_trunk ports 1-5 state enable Command: config vlan_trunk ports 1-5 state enable Success. DGS-1510-28XMP/ME:admin# Port 6 is LA-1 member port; port 7 is LA-2 master port:...
Page 632
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Port 6 is LA-1 member port; port 7 is LA-1 master port. DGS-1510-28XMP/ME:admin# config vlan_trunk ports 7 state disable Command: config vlan_trunk ports 7 state disable Success. DGS-1510-28XMP/ME:admin# config vlan_trunk ports 6-7 state disable Command: config vlan_trunk ports 6-7 state disable Success.
Page 633
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide DGS-1510-28XMP/ME:admin# show vlan Command: show vlan VLAN Trunk State : Enabled VLAN Trunk Member Ports : 1-5 VLAN Name : default VLAN Type : Static Advertisement : Enabled Member Ports : 1-28...
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Chapter 81 Password Recovery Command List enable password_recovery disable password_recovery show password_recovery 81-1 enable password_recovery Description This command is used to enable the password recovery mode. Format enable password_recovery Parameters None. Restrictions Only Administrators can issue this command.
Page 635
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Restrictions Only Administrators can issue this command. Example To disable the password recovery mode: DGS-1510-28XMP/ME:admin# disable password_recovery Command: disable password_recovery Success. DGS-1510-28XMP/ME:admin# 81-3 show password_recovery Description This command is used to display the password recovery state.
This chapter explains how the Password Recovery feature can help network administrators reach this goal. The following steps explain how to use the Password Recovery feature on D-Link devices to easily recover passwords.
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Appendix B System Log Entries The following table lists all possible entries and their corresponding meanings that will appear in the System Log of this Switch. Category Event Description Log Information Severity...
Page 638
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide unsuccessful (Username: <username>, IP: <ipaddr> ) Interface Port link up Port <portNum> link up, <link state> Informational Port link down Port <portNum> link down Informational Successful login through Console (Username: Console Successful login through Console Informational <username>)
Page 639
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Priority :<value>) New root port selected (Instance:<InstanceID>, New root port notice Port:<portNum>) Spanning Tree port status changed Spanning Tree port status (Instance:<InstanceID>, Port:<portNum>) <old_status> - notice changed > <new_status> Spanning Tree port role changed Spanning Tree port role changed (Instance:<InstanceID>, Port:<portNum>) <old_role>...
Page 640
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Successful login through Web Successful login through Web from <userIP> authenticated by AAA local authenticated by AAA local method (Username: Informational method <username> ) Login failed through Web Login failed through Web from <userIP> authenticated...
Page 641
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide configuration <username> ) Successful login through Successful login through Web(SSL) from <userIP> Web(SSL) authenticated by AAA authenticated by AAA server <serverIP> (Username: Informational server <username> ) Login failed through Web(SSL) from <userIP>...
Page 642
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Enable Admin failed through SSH Enable Admin failed through <Telnet or Web or SSH> authenticated by AAA from <userIP> authenticated by AAA local_enable Warning local_enable method method (Username: <username> ) Successful Enable Admin through...
Page 643
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Successful Enable Admin through SSH from <userIP> Successful Enable Admin through authenticated by AAA server <serverIP> (Username: Informational SSH authenticated by AAA server <username> ) Enable Admin failed through SSH from <userIP>...
Page 644
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Port <portNum> VID <vlanID> LBD loop occurred. Port with VID loop occurred Critical Packet discard begun. Port with VID Loop detection Port <portNum> VID <vlanID> LBD recovered. Loop Informational restarted after interval time detection restarted.
Page 645
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide MAC-based Access Control host login successful (MAC: MBAC A host passes the authentication Informational <macaddr>, port: <portNum>, VID: <vid>) A host fails to pass the MAC-based Access Control unauthenticated host(MAC: Critical authentication <macaddr>, Port <portNum>, VID: <vid>)
Page 646
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide detected port id: < portType>, <portID>, device class: <deviceClass>) Incompatible LLDP-MED TLV set Incompatible LLDP-MED TLV set detected ( on port < Notice detected portNum >, chassis id: < chassisType>, <chassisID>, port id: < portType>, <portID>, device class:...
Page 647
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Appendix C Trap Log Entries This table lists the trap logs found on the Switch. Trap Name Variable Bind Format MIB Name coldStart None V1/v2 SNMPv2-MIB warmStart None V1/V2 SNMPv2-MIB linkDown ifIndex...
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide Appendix D RADIUS Attributes Assignment The RADIUS Attributes Assignment on the DGS-1510/ME series is used in the following modules: 802.1X (Port- based and Host-based), and MAC-based Access Control. The description that follows explains the following RADIUS Attributes Assignment types: ...
Page 652
DGS-1510/ME Series Metro Ethernet Switch CLI Reference Guide To assign VLAN by RADIUS Server, the proper parameters should be configured on the RADIUS Server. To use VLAN assignment, RFC3580 defines the following tunnel attributes in RADIUS packets. The table below shows the parameters for a VLAN:...
Page 653
RADIUS attributes are supported by the IETF standard and Vendor-Specific Attribute (VSA). VSA allows the vendor to create an additionally owned RADIUS attribute. For more information about D-Link VSA, refer to Appendix E RADIUS Attributes Assignment.