D-Link DGS-1510 Series Reference Manual

D-Link DGS-1510 Series Reference Manual

Gigabit ethernet smartpro switch
Hide thumbs Also See for DGS-1510 Series:
Table of Contents

Advertisement

0
1

Advertisement

Table of Contents
loading

Summary of Contents for D-Link DGS-1510 Series

  • Page 2: Table Of Contents

    DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Table of Contents Introduction ................................1 Basic CLI Commands ............................10 802.1X Commands ............................... 25 Access Control List (ACL) Commands ......................... 38 Access Management Commands ........................66 ARP Spoofing Prevention Commands ......................... 85 Asymmetric VLAN Commands ..........................
  • Page 3 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Link Aggregation Control Protocol (LACP) Commands ..................346 Link Layer Discovery Protocol (LLDP) Commands .................... 352 Loopback Detection (LBD) Commands ......................379 MAC Authentication Commands ........................385 Mirror Commands ............................... 389 MLD Snooping Commands ..........................
  • Page 4: Introduction

    Introduction This manual’s command descriptions are based on the software release 1.30. The commands listed here are the subset of commands that are supported by the DGS-1510 Series SmartPro Switch. Audience This CLI Reference Guide is intended for network administrators and other IT networking professionals responsible for managing the switch by using the Command Line Interface (CLI).
  • Page 5: Command Descriptions

    DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide NOTE: A note indicates important information that helps you make better use of your device. NOTICE: A notice indicates either potential damage to hardware or loss of data and tells you how to avoid the problem.
  • Page 6 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide All other sub-configuration modes can be accessed via the Global Configuration Mode. When a user logs in to the Switch, the privilege level of the user determines the command mode the user will enter after initially logging in.
  • Page 7 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Users logged into the Switch in privileged EXEC mode at this level can change both local and global terminal settings, monitor, and perform system administration tasks (except for security related information). The method to enter privileged EXEC mode at operator level is to login to the Switch with a user account that has a privilege level of 12.
  • Page 8 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Observe the following example. Switch>enable Switch#configure terminal Switch(config)#username user1 password pass1234 Switch(config)#username user1 privilege 15 Switch(config)#line console Switch(config-line)#login local Switch(config-line)# In the above example we had to navigate and access the username command.
  • Page 9: Error Messages

    The Open Slot’s ID is the ID of the module plugged into the open module slot of the Switch. The DGS-1510 Series does not support any open modules slots, thus this parameters will always by zero for this switch series. Lastly, the Port’s ID is the physical port number of the port being configured.
  • Page 10: Editing Features

    DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# show verb Invalid input detected at ^marker Switch# Editing Features The command line interface of this switch supports to following keyboard keystroke editing features. Keystroke Description Delete Deletes the character under the cursor and shifts the remainder of the line to the left.
  • Page 11 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch#show running-config | begin # AAA # AAA configure terminal # AAA START no aaa new-model # AAA END # PRIVMGMT configure terminal # COMMAND LEVEL START # COMMAND LEVEL END...
  • Page 12 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch#show running-config | exclude # DEVICE Building configuration... Current configuration : 37933 bytes #------------------------------------------------------------------------------- DGS-1510-28XMP Gigabit Ethernet SmartPro Switch Configuration Firmware: Build 1.30.003 Copyright(C) 2015 D-Link Corporation. All rights reserved. #-------------------------------------------------------------------------------...
  • Page 13: Basic Cli Commands

    DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Basic CLI Commands 2-1 help This command is used to display a brief description of the help system. Use the help command in any command mode. help Parameters None. Default None.
  • Page 14 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch#help The switch CLI provides advanced help feature. 1. Help is available when you are ready to enter a command argument (e.g. 'show ?') and want to know each possible available options.
  • Page 15 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide User EXEC Mode. Privilege EXEC Mode. Command Default Level Level: 1. Usage Guideline Execute this command if the current level is lower than the command level. If the privileged level requires a password, enter it in the field provided. However, only three attempts are allowed. Failure to access this level returns the user to the current level.
  • Page 16 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Parameters None. Default None Command Mode Privilege EXEC Mode. Command Default Level Level: 12. Usage Guideline This command is used to enter the Global Configuration Mode. Example This example shows how to enter into Global Configuration Mode.
  • Page 17 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 2-6 login (Line) This command is used to set the line login method. Use the no form of this command to disable the login. login [local] no login Parameters Specifies that the line login method will be login.
  • Page 18 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide This example shows how to configure the line console login method as “login”. Switch# configure terminal Switch(config)# line console Switch(config-line)# login Switch(config-line)# This example shows how to enter the login command. The device will check the validity of the user from the password create command.
  • Page 19 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# disable Switch# logout 2-8 end This command is used to end the current configuration mode and return to the highest mode in the CLI mode hierarchy which is either the User EXEC Mode or the Privileged EXEC Mode.
  • Page 20 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Level: 1. Usage Guideline Use this command to exit the current configuration mode and go back to the last mode. When the user is in the User EXEC Mode or the Privilege EXEC Mode, this command will logout the session.
  • Page 21 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 2-11 show environment This command is used to display fan, temperature, power availability and status information. show environment [fan | power | temperature] Parameters (Optional) Specifies to display the Switch fan detailed status.
  • Page 22 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 2-12 show unit This command is used to display information about system units. show unit [UNIT-ID] Parameters UNIT-ID (Optional) Specify the unit to display. Default None. Command Mode EXEC Mode or Any Configuration Mode.
  • Page 23 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Command Mode EXEC Mode or Any Configuration Mode. Command Default Level Level: 1. Usage Guideline This command displays the system’s CPU utilization information in 5 second, 1 minute, and 5 minute intervals.
  • Page 24 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch#show version System MAC Address: 3C-1E-04-A1-CC-00 Unit ID Module Name Versions ------- ------------------ --------------------- DGS-1510-28XMP H/W:A1 Bootloader:1.00.012 Runtime:1.30.003 Switch# 2-15 snmp-server enable traps environment This command is used to enable the power, temperature and fan trap state.
  • Page 25 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 2-16 environment temperature threshold This command is used to configure the environment temperature thresholds. Use the no form of this command to revert to the default setting. environment temperature threshold unit UNIT-ID thermal THREMAL-ID [high VALUE] [low...
  • Page 26 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide level PRIVILEGE-LEVEL Specifies the level of the execution right. The value is from 1 to 15. Specifies to revert the command to the default setting level. reset COMMAND-STRING Specifies the command to be changed.
  • Page 27 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide...
  • Page 28: Commands

    DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 802.1X Commands 3-1 clear dot1x counters This command is used to clear 802.1X counters (diagnostics, statistics and session statistics). clear dot1x counters {all | interface INTERFACE-ID [, | -]} Parameters Specifies to clear 802.1X counters (diagnostics, statistics and session statistics) on all interfaces.
  • Page 29 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Default By default, this option is bidirectional mode. Command Mode Interface Configuration Mode. Command Default Level Level: 12. Usage Guideline This command is only available for physical port interface configuration. If the port control is set to force-authorized, then the port is not controlled in both directions.
  • Page 30 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide This command is used to reset all the IEEE 802.1X parameters on a specific port to their default settings. Example This example shows how to reset the 802.1X parameters on port 1/0/1.
  • Page 31 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 3-5 dot1x forward-pdu This command is used to enable the forwarding of the dot1x PDU. Use the no form of this command to disable the forwarding of the dot1x PDU. dot1x forward-pdu...
  • Page 32 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Command Mode Privileged EXEC Mode. Command Default Level Level: 12. Usage Guideline Under the multi-host mode, specify an interface ID to initialize a specific port. Under the multi-auth mode, specify a MAC address to initialize a specific MAC address.
  • Page 33 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 3-8 dot1x pae authenticator This command is used to configure a specific port as an IEEE 802.1X port access entity (PAE) authenticator. Use the no form of this command to disable the port as an IEEE 802.1X authenticator.
  • Page 34 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide (Optional) Specifies a range of interfaces. No space is allowed before and after the hyphen. mac-address MAC-ADDRESS Specifies the MAC address to re-authenticate. Default None. Command Mode Privileged EXEC Mode. Command Default Level Level: 12.
  • Page 35 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 3-11 dot1x timeout This command is used to configure IEEE 802.1X timers. Use the no form of this command to revert a specific timer setting to the default setting. dot1x timeout {server-timeout SECONDS | supp-timeout SECONDS | tx-period SECONDS}...
  • Page 36 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide interface INTERFACE-ID (Optional) Specifies to display the dot1x configuration on the specified interface or range of interfaces. If not specified, the global configuration will be displayed. (Optional) Specifies a series of interfaces, or separate a range of interfaces from a previous range.
  • Page 37 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Parameters interface INTERFACE-ID (Optional) Specifies to display the dot1x diagnostics on the specified interface or range of interfaces. If not specified, information about all interfaces will be displayed. (Optional) Specifies a series of interfaces, or separate a range of interfaces from a previous range.
  • Page 38 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide show dot1x statistics [interface INTERFACE-ID [, | -]] Parameters interface INTERFACE-ID (Optional) Specifies to display the dot1x diagnostics on the specified interface or range of interfaces. If not specified, information about all interfaces will be displayed.
  • Page 39 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Parameters interface INTERFACE-ID (Optional) Specifies to display the dot1x diagnostics on the specified interface or range of interfaces. If not specified, information about all interfaces will be displayed. (Optional) Specifies a series of interfaces, or separate a range of interfaces from a previous range.
  • Page 40 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide By default, this option is disabled. Command Mode Global Configuration Mode. Command Default Level Level: 12. Usage Guideline This command can be used to enable or disable sending SNMP notifications for 802.1X authentication.
  • Page 41: Access Control List (Acl) Commands

    DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Access Control List (ACL) Commands 4-1 access-list resequence This command is used to re-sequence the sequence number of the access list entries in an access list. Use the no form of this command to revert to the default settings.
  • Page 42 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# configure terminal Switch(config)# show access-list ip R&D Extended IP access list R&D(ID: 3552) 10 permit tcp any 10.20.0.0 255.255.0.0 20 permit tcp any host 10.100.1.2 30 permit icmp any any Switch(config)# ip extended access-list R&D...
  • Page 43 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide The command with parameter access-group will enable the ACL hardware counter for all ports that have applied the specified access-list name or number. The number of packets, that match each rule, are counted.
  • Page 44 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# show vlan access-map VLAN access-map vlan-map 20 match mac address: ext_mac(ID: 6856) action: forward Switch# configure terminal Switch(config)# vlan access-map vlan-map 20 Switch(config-access-map)# action redirect eth1/0/5 Switch(config-access-map)# end Switch# show vlan access-map...
  • Page 45 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide expert access-group {NAME | NUMBER} [in] no expert access-group [NAME | NUMBER] [in] Parameters NAME Specifies the name of the expert access-list to be configured. The name can be up to 32 characters.
  • Page 46 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Default None. Command Mode Global Configuration Mode. Command Default Level Level: 12. Usage Guideline The name must be unique among all access lists. The characters used in the name are case sensitive.
  • Page 47 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide If an IP access group is already configured on the interface, the command applied later will overwrite the previous setting. Only one access list of the same type can be applied to the same interface; but access-lists of different types can be applied to the same interface.
  • Page 48 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# configure terminal Switch(config)# ip access-list extended Strict-Control Swtich(config-ip-ext-acl)# permit tcp any 10.20.0.0 255.255.0.0 Swtich(config-ip-ext-acl)# exit Swtich(config)# ip access-list pim-srcfilter Switch(config-ip-acl)# permit host 172.16.65.193 any Switch(config-ip-acl)# 4-9 ipv6 access-group This command is used to specify the IPv6 access list to be applied to an interface. Use the no form of this command to remove an IPv6 access list.
  • Page 49 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide ipv6 access-list [extended] NAME [NUMBER] no ipv6 access-list [extended] {NAME | NUMBER} Parameters (Optional) Specifies that without this option the IPv6 access list is a extended standard IPv6 access list. When using the extended option, the IPv6 access list is an extended IPv6 access list and more fields can be chosen for the filter.
  • Page 50 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide TEXT Specifies the remark information. The information can be up to 256 characters long. Default None. Command Mode Access-list Configuration Mode. Command Default Level Level: 12. Usage Guideline This command is available in the MAC, IP, IPv6, and Expert Access-list Configure mode.
  • Page 51 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Usage Guideline If MAC access group is already configured on the interface, the command applied later will overwrite the previous setting. MAC access-groups will only check non-IP packets. Only one access list of the same type can be applied to the same interface; but access lists of different types can be applied to the same interface.
  • Page 52 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 4-14 match ip address This command is used to associate an IP access list for the configured sub-map. The no form of this command removes the match entry. match ip address {ACL-NAME | ACL-NUMBER}...
  • Page 53 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Command Mode VLAN Access-map Sub-map Configuration Mode. Command Default Level Level: 12. Usage Guideline Use this command to associate an IPv6 access list with the configured sub-map. One sub-map can only be associated with one access list (IP access list, IPv6 access list or MAC access list). IPv6 sub- map just checks IPv6 packets.
  • Page 54 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 4-17 permit | deny (expert access-list) This command is used to add a permit or deny entry. Use the no form of this command to remove an entry. Extended Expert ACL:...
  • Page 55 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide WILDCARD bitmap. The bit corresponding to the bit value 1 will be ignored. The bit corresponding to the bit value 0 will be checked. host DST-IP-ADDR Specifies a specific destination host IP address.
  • Page 56 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide If a rule entry is created without a sequence number, a sequence number will be automatically assigned. If it is the first entry, the sequence number 10 is assigned. A subsequent rule entry will be assigned a sequence number that is 10 greater than the largest sequence number in that access list and is placed at the end of the list.
  • Page 57 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Standard IP Access List: [SEQUENCE-NUMBER] {permit | deny} {any | host SRC-IP-ADDR | SRC-IP-ADDR SRC-IP- WILDCARD} [any | host DST-IP-ADDR | DST-IP-ADDR DST-IP-WILDCARD] [time-range PROFILE-NAME] no SEQUENCE-NUMBER Parameters Specifies the sequence number. The range is from 1 to 65535. The SEQUENCE-NUMBER lower the number is, the higher the priority of the permit/deny rule.
  • Page 58 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide the message code is from 0 to 255. ICMP-MESSAGE (Optional) Specifies the ICMP message. The pre-defined parameters are available for selection: administratively- prohibited,alternate-address,conversion-error,host-prohibited,net- prohibited,echo,echo-reply,pointer-indicates-error,host- isolated,host-precedence-violation,host-redirect,host-tos- redirect,host-tos-unreachable,host-unknown,host-unreachable, information-reply,information-request,mask-reply,mask- request,mobile-redirect,net-redirect,net-tos-redirect,net-tos- unreachable, net-unreachable,net-unknown,bad-length,option- missing,packet-fragment,parameter-problem,port-...
  • Page 59 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# configure terminal Switch(config)# ip access-list std-acl Switch(config-ip-acl)# permit any 10.20.0.0 0.0.255.255 Switch(config-ip- acl)# permit any host 10.100.1.2 Switch(config-ip- acl)# 4-19 permit | deny (ipv6 access-list) This command is used to add a permit entry or deny entry to the IPv6 access list. Use the no form of this command to remove an entry from the IPv6 access list.
  • Page 60 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide pcp ,sctp dscp VALUE (Optional) Specifies the matching traffic class value in IPv6 header. The range is from 0 to 63, or select the following DSCP name: af11 - 001010, af12 -001100, af13 - 001110, af21 - 010010, af22 -...
  • Page 61 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide specified sequence number will be assigned sequence based new sequence setting of the specified access list. When you manually assign the sequence number, it is better to have a reserved interval for future lower sequence number entries.
  • Page 62 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide bit corresponding to the bit value 0 will be checked. ethernet-type TYPE MASK (Optional) Specifies that the Ethernet type which is a hexadecimal number from 0 to FFFF or the name of an Ethernet type which can...
  • Page 63 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide interface INTERFACE-ID (Optional) Specifies the interface to be displayed. Default None. Command Mode EXEC Mode or Any Configuration Mode. Command Default Level Level: 1. Usage Guideline If interface is not specified, all of the interfaces that have access list configured will be displayed.
  • Page 64 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide will be displayed. If the user enables the ACL hardware counter for an access list, the counter will be displayed based on each access list entry. Example This example shows how to display all access lists.
  • Page 65 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide configured. The name can be up to 32 characters. Default None. Command Mode EXEC Mode or Any Configuration Mode. Command Default Level Level: 1. Usage Guideline If no access-map name is specified, all VLAN access-map information will be displayed. If the user enables the ACL hardware counter for an access-map, the counter will be displayed based on each sub-map.
  • Page 66 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide MAP-NAME (Optional) Specifies the name of the VLAN access map. The name can be up to 32 characters. VLAN-ID (Optional) Specifies the VLAN ID. Default None. Command Mode EXEC Mode or Any Configuration Mode.
  • Page 67 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Global Configuration Mode. Command Default Level Level: 12. Usage Guideline A VLAN access map can contain multiple sub-maps. For each sub-map, one access list (IP access list, IPv6 access list or MAC access list) can be specified and one action can be specified. After a VLAN access map is created, the user can use the vlan filter command to apply the access map to VLAN(s).
  • Page 68 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# configure terminal Switch(config)# vlan filter vlan-map vlan-list 5 Switch(config-access-map)# end Switch# show vlan filter VLAN Map vlan-map Configured on VLANs: 5 Switch#...
  • Page 69: Access Management Commands

    DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Access Management Commands 5-1 access class This command is used to specify an access list to restrict the access via a line. Use the no form of this command to remove the specified access list check.
  • Page 70 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide space character in the string is ignored.  % h - Specifies to encode the SNMP server name.  %s - Specifies to have space.  %% - Specifies to encode the % symbol.
  • Page 71 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 7 PASSWORD Specifies the password in the encrypted form based on SHA-1. For the encrypted form password, the length is fixed to 35 bytes long. The password is case-sensitive. The syntax is Encrypted Password.
  • Page 72 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Example This example shows how to enable the HTTP server. Switch# configure terminal Switch(config)# ip http server Switch(config)# 5-5 ip http secure-server This command is used to enable the HTTPS server. Use the ip http secure-server ssl-service- policy command to specify which SSL service policy is used for HTTPS.
  • Page 73 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Parameters IP-ACL Specifies a standard IP access list. The source address field of the entry defines the valid or invalid host. Default None. Command Mode Global Configuration Mode. Command Default Level Level: 12.
  • Page 74 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide This example shows how to configure the HTTP TCP port number to 8080. Switch# configure terminal Switch(config)# ip http service-port 8080 Switch(config)# 5-8 ip http timeout-policy idle This command is used to set idle timeout of a http server connection in seconds. Use the no form of this command to set the idle timeout to default value.
  • Page 75 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Global Configuration Mode. Command Default Level Level: 12. Usage Guideline This command enables or disables the Telnet server. The SSH access interface is separately controlled by SSH commands. Example This example shows how to enable the Telnet server.
  • Page 76 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Parameters console Specifies the local console terminal line. telnet Specifies the Telnet terminal line Specifies the SSH terminal line Default None. Command Mode Global Configuration Mode. Command Default Level Level: 12.
  • Page 77: Show Terminal

    DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide When the service password encryption option is disabled and the password is specified in the plain text form, the password will be in plain text form. However, if the password is specified in the encrypted form or if the password has been converted to the encrypted form by the last enable password encryption option, the password will still be in the encrypted form.
  • Page 78 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 5-14 show ip telnet server This command is used to obtain information about the Telnet server status. Use this command in any EXEC mode or any configuration mode. show ip telnet server Parameters None.
  • Page 79 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch#show ip http server ip http server state : enable Switch# 5-16 show ip http secure-server This command is used to obtain information about the SSL status. Use this command in EXEC mode or any configuration mode.
  • Page 80 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Usage Guideline This command displays information about the active lines on the Switch. Example This example shows how to display all session information. Switch# show users Type User-Name Privilege Login-Time IP address...
  • Page 81 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# telnet 10.90.90.91 DGS-1510-28P Gigabit Ethernet SmartPro Switch Command Line Interface Firmware: Build 1.30.004 Copyright(C) 2015 D-Link Corporation. All rights reserved. User Access Verification Username: This example shows how to Telnet through port 23 to 10.90.90.91 and the connection failed. Try using port 3500 instead to login into the management interface.
  • Page 82 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Command Default Level Level: 1 (for the terminal length command). Level: 12 (for the terminal length default command). Usage Guideline When the terminal length is 0, the display will not stop until it reaches the end of the display.
  • Page 83 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# configure terminal Switch(config)# terminal speed 9600 Switch(config)# 5-21 session timeout This command is used to configure the line session timeout value. Use the no form of this command to revert to the default setting.
  • Page 84 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Default By default, this value is 80 characters. Command Mode Use the EXEC Mode or Privilege EXEC Mode for the terminal width command. Use the Global Configuration Mode for the terminal width default command.
  • Page 85 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide NAME Specifies the user name with a maximum of 32 characters. (Optional) Specifies the privilege level for each user. The privilege privilege LEVEL level must be between 1 and 15. nopassword (Optional) Specifies that there will be no password associated with this account.
  • Page 86 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# configure terminal Switch(config)# no username admin Switch(config)# 5-24 password This command is used to create a new password. Use the no form of this command remove the password. password [0 | 7 | 15] PASSWORD...
  • Page 87 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide clear line LINE-ID Parameters LINE-ID Specifies the line ID to disconnect a connection session. The value is from 1 to 22. Default None. Command Mode Privilege EXEC Mode. Command Default Level Level: 15.
  • Page 88: Arp Spoofing Prevention Commands

    DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide ARP Spoofing Prevention Commands 6-1 ip arp spoofing-prevention This command is used to configure an ARP Spoofing Prevention (ASP) entry of the gateway used for preventing ARP poisoning attacks. Use the no form of this command to delete an ARP spoofing prevention entry.
  • Page 89 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch#configure terminal Switch(config)# ip arp spoofing-prevention 10.254.254.251 00-00-00-11-11-11 interface eth2/0/10 Switch(config)# ip arp spoofing-prevention 10.254.254.251 00-00-00-11-11-11 interface port-channel 3 Switch(config)# 6-2 show ip arp spoofing-prevention This command is used to display the configuration of ARP spoofing prevention.
  • Page 90: Asymmetric Vlan Commands

    DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Asymmetric VLAN Commands 7-1 asymmetric-vlan This command is used to enable the asymmetric VLAN function. Use the no form of this command to disable the asymmetric VLAN function. asymmetric-vlan no asymmetric-vlan Parameters None.
  • Page 91: Authentication, Authorization, And Accounting (Aaa) Commands

    DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Authentication, Authorization, and Accounting (AAA) Commands 8-1 aaa accounting commands This command is used to configure the method list used for all commands at the specified privilege level. Use the no form of this command to remove an accounting method list.
  • Page 92 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide aaa accounting exec {default | LIST-NAME} start-stop METHOD1 [METHOD2...] no aaa accounting exec {default | LIST-NAME} Parameters default Specifies to configure the default method list for EXEC accounting. LIST-NAME Specifies the name of the method list. This name can be up to 32 characters long.
  • Page 93 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide accounting successfully. default Specifies to configure the default method list for network accounting. Specifies the list of methods that the accounting algorithm tries in METHOD1 [METHOD2...] the given sequence. Enter at least one method or enter up to four methods.
  • Page 94 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide the given sequence. Enter at least one method or enter up to four methods. The following are keywords that can be used to specify a method. group radius – Specifies to use the servers defined by the RADIUS server host command.
  • Page 95 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide will pass the authentication if it is not denied by previous method authentication. Default No AAA authentication method is configured. Command Mode Global Configuration Mode. Command Default Level Level: 15. Usage Guideline Use this command to configure the default authentication method list for determining access to the privileged EXEC level when users issue the enable [privilege LEVEL] command.
  • Page 96 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Level: 15. Usage Guideline Use this command to configure the default authentication method list for 802.1X authentication. Initially, the default method list is not configured. The authentication of 802.1X requests will be performed based on the local database.
  • Page 97 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch#configure terminal Switch(config)#aaa authentication jwac default group radius Switch(config)# 8-8 aaa authentication login This command is used to configure the method list used for login authentication. Use the no form of this command to remove a login method list.
  • Page 98 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide continues until there is successful communication with a listed authentication method or all methods defined in the method list are exhausted. It is important to note that the switch system attempts authentication with the next listed authentication method only when there is no response from the previous method.
  • Page 99 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch#configure terminal Switch(config)# aaa authentication mac-auth default group radius Switch(config)# 8-10 aaa authentication web-auth This command is used to configure the default method list used for Web authentication. Use the no form of this command to remove the default method list.
  • Page 100 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide no aaa group server radius GROUP-NAME Parameters GROUP-NAME Specifies the name of the server group. This name can be up to 32 characters long. The syntax is a general string that does not allow spaces.
  • Page 101 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Usage Guideline Use this command to enter the TACACS+ group server configuration mode. Use the server command to associate the TACACS+ server hosts with the TACACS+ server group. The defined server group can be specified as the method list for authentication, or accounting by using the AAA authentication and AAA accounting command.
  • Page 102 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide accounting commands LEVEL {default | METHOD-LIST} no accounting commands LEVEL Parameters LEVEL Specifies to do accounting for all configure commands at the specified privilege level. Valid privilege level entries are 1 to 15.
  • Page 103 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Command Default Level Level: 15. Usage Guideline For accounting via the method list to take effect, enable AAA first by using the aaa new-model command. Create the method list first by using the aaa accounting exec command. If the method list does not exist, the command does not take effect.
  • Page 104 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Use this command to clear the statistics counter related to AAA servers. Example This example shows how to clear AAA server counters. Switch# clear aaa counters servers all Switch# This example shows how to clear AAA server counters information for all hosts in the server group “server-farm”.
  • Page 105 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide ip http accounting exec {default | METHOD-LIST} no ip http accounting exec Parameters Specifies to do accounting based on the default method list. default METHOD-LIST Specifies the name of the method list to use.
  • Page 106 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Usage Guideline For authentication via the method list to take effect, enable AAA first by using the aaa new-model command. Create the method list first by using the aaa authentication login command. If the method list does not exist, the command does not take effect and the authentication will be done via the default login method list.
  • Page 107 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 8-21 radius-server host This command is used to create a RADIUS server host. Use the no form of this command to delete a server host. radius-server host {IP-ADDRESS | IPV6-ADDRESS} [auth-port PORT] [acct-port PORT]...
  • Page 108 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 8-22 server (RADIUS) This command is used to associate a RADIUS server host with a RADIUS server group. Use the no form of this command to remove a server host from the server group.
  • Page 109 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide IPV6-ADDRESS Specifies the IPv6 address of the authentication server. Default By default, no host is in the server group. Command Mode TACACS+ Group Server Configuration Mode. Command Default Level Level: 15.
  • Page 110 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# show aaa AAA is enabled. Switch# 8-25 tacacs-server host This command is used to create a TACACS+ server host. Use the no form of this command to remove a server host.
  • Page 111 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 8-26 show radius statistics This command is used to display RADIUS statistics for accounting and authentication packets. show radius statistics Parameters None. Default None. Command Mode Privilege EXEC Mode or Any Configuration Mode.
  • Page 112 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide received from this server. Access Challenges The number of RADIUS Access-Challenge packets (valid or invalid) received from this server. The number of RADIUS Accounting-Request packets sent. This Acct Request does not include retransmissions.
  • Page 113 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide This example shows how to display the server related statistics counters. Switch# show tacacs statistics TACACS+ Server: 172.19.192.80/49, State is UP Socket Opens: 0 Socket Closes: 0 Total Packets Sent: 0...
  • Page 114: Basic Ipv4 Commands

    DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Basic IPv4 Commands 9-1 arp This command is used to add a static entry in the Address Resolution Protocol (ARP) cache. Use the no form of this command to remove a static entry in the ARP cache.
  • Page 115 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Command Mode Interface Configuration Mode. Command Default Level Level: 12. Usage Guideline Used to set the ARP aging time for the ARP table. Use the no form of this command to revert to the default setting.
  • Page 116 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 9-4 ip address This command is used to set a primary or secondary IPv4 address for an interface, or acquire an IP address on an interface from the DHCP. Use the no form of this command to remove the configuration of an IP address or disable DHCP on the interface.
  • Page 117 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Parameters None. Default By default, this option is disabled. Command Mode Interface Configuration Mode. Command Default Level Level: 12. Usage Guideline Use this command to configure the proxy ARP state for an interface. When proxy ARP is enabled, the system will respond to ARP requests for IP addresses within the local connected subnets.
  • Page 118 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# configure terminal Switch(config)# interface vlan100 switch(config-if)# ip local-proxy-arp switch(config-if)# 9-7 show arp This command is used to display the Address Resolution Protocol (ARP) cache. show arp [ARP-TYPE] [IP-ADDRESS [MASK]] [INTERFACE-ID] [HARDWARE-ADDRESS]...
  • Page 119 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide show arp timeout [interface INTERFACE-ID] Parameters INTERFACE-ID Specifies the interface ID. Default None. Command Mode EXEC Mode or Any Configuration Mode. Command Default Level Level: 1. Usage Guideline This command is used to display the configured ARP aging time.
  • Page 120 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide If no parameter is specified, information for all the interfaces will be displayed. Example This example shows how to display the brief information of the IP interface. Switch#show ip interface brief...
  • Page 121: Basic Ipv6 Commands

    DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 10. Basic IPv6 Commands 10-1 clear ipv6 neighbors This command is used to clear IPv6 neighbor cache dynamic entries. clear ipv6 neighbors {all | INTERFACE-ID} Parameters Specifies to clear the dynamic neighbor cache entries associated with all interfaces.
  • Page 122 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Interface Configuration Mode. Command Default Level Level: 12. Usage Guideline The IPv6 address can directly be specified by the user or configured based on a general prefix. The general prefix can be acquired by the DHCPv6 client. The general prefix does not need to exist before it can be used in the ipv6 address command.
  • Page 123 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide If the command is configured on an IPv6 ISTAP tunnel, the last 32 bits of the interface ID are constructed using the source IPv4 address of the tunnel. Example This example shows how to add an IPv6 address incidence.
  • Page 124 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide no ipv6 enable Parameters None. Default By default, this option is disabled. Command Mode Interface Configuration Mode. Command Default Level Level: 12. Usage Guideline When the IPv6 address is explicitly configured on the interface, the IPv6 link-local address is automatically generated and the IPv6 processing is started.
  • Page 125 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Use this command to create a static IPv6 neighbor cache entry on an interface. The static entry will be either in the REACHABLE state, if the interface is UP, or in the INCOMPLETE state if the interface is down.
  • Page 126 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# show ipv6 interface brief vlan1 is up, Link status is up FE80::201:1FF:FE02:304 vlan2 is up, Link status is down FE80::201:1FF:FE02:305 200::2 vlan3 is up, Link status is down FE80::201:1FF:FE02:306 Total Entries: 3...
  • Page 127 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide D – Dynamic learning entry. Type S – Static neighbor entry. State INCMP: (Incomplete) Address resolution is being performed on the entry, but the corresponding neighbor advertisement message has not yet been received.
  • Page 128: Bpdu Attack Protection Commands

    DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 11. BPDU Attack Protection Commands 11-1 spanning-tree bpdu-protection (global) This command is used to enable the Bridge Protocol Data Unit (BPDU) Protection function globally. Use the no form of this command to revert to the default setting.
  • Page 129 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Interface Configuration Mode. Command Default Level Level: 12. Usage Guideline In a network, customers do not want all ports of a device to be able to receive STP packets, because the ports may receive the STP BPDU packets which cause the waste of the system resource.
  • Page 130 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch#show spanning-tree bpdu-protection Global State: Enabled Interface State Mode Status -------------- -------- -------- ------------ eth1/0/1 Enabled Block Normal eth1/0/2 Disabled Shutdown Normal eth1/0/3 Disabled Shutdown Normal eth1/0/4 Disabled Shutdown Normal eth1/0/5...
  • Page 131 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Level: 12. Usage Guideline Use this command to enable or disable the sending of the SNMP notifications for BPDU protection. Example This example shows how to enable the sending of the SNMP notifications for BPDU protection.
  • Page 132: Cable Diagnostics Commands

    DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 12. Cable Diagnostics Commands 12-1 test cable-diagnostics This command is used to start the cable diagnostics to test the status and length of copper cables. test cable-diagnostics interface INTERFACE-ID [,|-] Parameters Specifies the interface ID.
  • Page 133 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide (Optional) Specifies the interface’s ID. The acceptable interface will interface INTERFACE-ID be a physical port. (Optional) Specifies a series of interfaces, or separate a range of interfaces from a previous range. No space before and after the comma.
  • Page 134 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Specifies the interface’s ID. The acceptable interface will be a interface INTERFACE-ID physical port. (Optional) Specifies a series of interfaces, or separate a range of interfaces from a previous range. No space before and after the comma.
  • Page 135: Command Logging Commands

    DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 13. Command Logging Commands 13-1 command logging enable This command is used to enable the command logging function. Use the no form of this command to disable the command logging function.
  • Page 136: Debug Commands

    DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 14. Debug Commands 14-1 debug enable This command is used to enable the debug message output option. Use the no form of this command to disable the debug message output option.
  • Page 137 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Privileged EXEC Mode. Command Default Level Level: 15. Usage Guideline Use this command to set a specified module’s debug message output to debug to the buffer or the local console. Use the show debug output command to display the module’s string information. By default, module debug message is output to the debug buffer.
  • Page 138 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Parameters SOURCE-URL Specifies the source URL for the source file to be copied. It must be one of the following keywords. buffer: Specifies to copy the debug buffer information. error-log: Specifies to copy the error log information.
  • Page 139 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide This example shows how to clear the debug buffer information. Switch# debug clear buffer Switch# 14-6 debug clear error-log This command is used to clear the error log information. debug clear error-log Parameters None.
  • Page 140 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Use this command to display the content of the debug buffer or utilization information of the debug buffer. Example This example shows how to display the debug buffer information. Switch# debug show buffer...
  • Page 141 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# debug show output Debug Global State : Disabled Module name Output Enabled ----------------- -------- ------------------------------------- DHCPv6_CLIENT buffer DHCPv6_RELAY buffer OSPFV2 buffer buffer VRRP buffer RIPNG buffer Switch# 14-9 debug show error-log This command is used to display error log information.
  • Page 142 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# debug show error log # debug log: 1 # level: fatal # clock: 10000ms # time : 2013/09/11 13:00:00 ====================== SOFTWARE FATAL ERROR ======================= Invalid mutex handle : 806D6480 Current TASK : bcmARL.0 ------------------------- TASK STACKTRACE ------------------------ ->802ACE98...
  • Page 143 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Privileged EXEC Mode or Any Configuration Mode. Command Default Level Level: 15. Usage Guideline Use this command to display technical support information. The technical support information is used to collect the Switch’s information needed by the engineers to troubleshoot or analyze a problem.
  • Page 144 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# debug show tech-support #------------------------------------------------------------------------------- DGS-1510-28XMP Gigabit Ethernet SmartPro Switch Technical Support Information Firmware: Build 1.30.003 Copyright(C) 2015 D-Link Corporation. All rights reserved. #------------------------------------------------------------------------------- ******************** Basic System Information ******************** [SYS 2000-1-1 00:04:26]...
  • Page 145 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide NONE NONE SIO Ports: Port Link Status Hello reply ---- ----------- ----------- FALSE FALSE FALSE FALSE FALSE FALSE <Output truncated> 14-11 debug show cpu utilization This command is used to display the total CPU utilization and the CPU utilization per process.
  • Page 146 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 14-12 debug show packet ports This command is used to display the packet statistics information of the SIO ports. debug show packet ports unit [UNIT-ID] [ sio1 | sio2 ] Parameters UNIT-ID Specifies the stacking unit ID.
  • Page 147 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch#debug show packet ports unit 1 sio1 UNIT ID 1 SIO 1: Frame Size/Type Frame Counts Frames/sec --------------- ---------------------- ----------- rxHCTotalPkts rxHCUnicastPkts rxHCMulticastPkts rxHCBroadcastPkts rxHCOctets rxHCPkt64Octets rxHCPkt65to127Octets rxHCPkt128to255Octets rxHCPkt256to511Octets rxHCPkt512to1023Octets rxHCPkt1024to1518Octets...
  • Page 148 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Command Default Level Level: 15. Usage Guideline Use this command to display the error statistics information of the SIO ports. Example This example shows how to display the error statistics information of the SIO ports.
  • Page 149: Dhcp Auto-Configuration Commands

    DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 15. DHCP Auto-Configuration Commands 15-1 autoconfig enable This command is used to enable the auto-configuration function. Use the no form of this command to disable the auto-configuration function. autoconfig enable no autoconfig enable Parameters None.
  • Page 150 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Command Mode EXEC Mode or Any Configuration Mode. Command Default Level Level: 1. Usage Guideline This command is used to display the status of the auto-configuration. Example This example shows how to display the status of the auto-configuration.
  • Page 151: Dhcp Client Commands

    DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 16. DHCP Client Commands 16-1 ip dhcp client class-id This command is used to specify the vendor class identifier used as the value of Option 60 for the DHCP discover message. Use the no form of this command to revert the setting to the default.
  • Page 152 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide INTERFACE-ID Specifies the VLAN interface, whose hexadecimal MAC address will be used as the client ID to be sent with the discover message. Default The MAC address of the VLAN will be used as the client ID.
  • Page 153 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Example This example shows how to set the host name option value to Site-A-Switch. Switch# configure terminal Switch(config)# interface vlan 100 Switch(config-if)# ip dhcp client hostname Site-A-Switch Switch(config-if)# 16-4 ip dhcp client lease This command is used to specify the preferred lease time for the IP address to request from the DHCP server.
  • Page 154: Dhcp Relay Commands

    DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 17. DHCP Relay Commands 17-1 class (DHCP relay) This command is used to enter the DHCP pool configuration mode and associate a range of IP addresses with the DHCP class. Use the no form of this command to remove the association.
  • Page 155 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Parameters NAME Specifies the DHCP class name with a maximum of 32 characters. Default None. Command Mode Global Configuration Mode. Command Default Level Level: 12. Usage Guideline Use this command to enter the DHCP class configuration mode. In the mode, the user can use the option hex command to define the option matching pattern for the DHCP class.
  • Page 156 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide the relay pool, if the request packet is a relayed packet, the Gateway IP Address (GIADDR) of the packet is the source of the request. If the GIADDR is zero, the subnet of the received interface is the source of the packet.
  • Page 157 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# configure terminal Switch(config)# ip dhcp relay information check switch(config)# 17-5 ip dhcp relay information check-reply This command is used to configure the DHCP relay agent to validate the relay agent information option in the received DHCP reply packet.
  • Page 158 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide ip dhcp relay information option no ip dhcp relay information option Parameters None. Default By default, Option 82 is not inserted. Command Mode Global Configuration Mode. Command Default Level Level: 12.
  • Page 159 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide This command takes effect when the DHCP service is enabled. Example This example shows how to enable the insertion of Option 82 during the relay of DHCP request packets and disables the insertion of Option 82 for interface VLAN 100. The insertion of Option 82 is disabled for VLAN 100 but enabled for the remaining interfaces.
  • Page 160 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide ip dhcp relay information policy-action {drop | keep | replace} no ip dhcp relay information policy-action Parameters Specifies to discard the packet that already has the relay option. drop keep Specifies that the DHCP request packet that already has the relay option is left unchanged and directly relayed to the DHCP server.
  • Page 161 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Vendor3 Specifies to use vendor 3. Default The Switch's system MAC address is used as the remote ID string. Command Mode Global Configuration Mode. Command Default Level Level: 12. Usage Guideline This command is used to select different vendor’s remote ID format or configures a user-defined...
  • Page 162 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide This command is used to configure each interface’s vendor defined string for option 82 information remote-id sub-option. It is available for both physical port and port channel interface configuration. Example This example shows how define vendor3 remote-id format string as “switch1” for interface eth3/0/3.
  • Page 163 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide This example shows how to configure a user-defined string “abcd” as the circuit ID. Switch# configure terminal Switch(config)# ip dhcp relay information option Switch(config)# ip dhcp relay information option format circuit-id string abcd...
  • Page 164 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Default By default, this option is disabled. Command Mode Global Configuration Mode. Command Default Level Level: 12. Usage Guideline When IP DHCP relay information trust option is enabled on an interface, the arriving packets with a GIADDR of 0 (this relay agent is the first relay of this DHCP request packet) but with relay agent information option present will be accepted.
  • Page 165 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Example This example shows how to disable the DHCP relay agent to trust all interface settings and enable trust for VLAN 100. Switch# configure terminal Switch(config)# no ip dhcp relay information trust-all...
  • Page 166 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide no ip dhcp smart-relay Parameters None. Default By default, this option is disabled. Command Mode Global Configuration Mode. Command Default Level Level: 12. Usage Guideline When the received interface of the packet has secondary addresses, by default, the relay agent set the gateway address field of the packet to the primary address of the interface.
  • Page 167 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Level: 12. Usage Guideline Use the ip dhcp class command with this command to define a DHCP class. The classes in a pool are matched in the sequence of the class configuration in a pool.
  • Page 168 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide the relay pool, if the request packet is a relayed packet, the GIADDR of the packet is the source of the request. If the request packet is not a relayed packet, the subnet of the received interface is the source of the packet.
  • Page 169 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide This example shows how a DHCP relay pool “pool2” is created. In the relay pool, the subnet 172.19.18.0.0/255.255.255.0 is specified as the source subnet and 10.2.1.10 is specified as the relay destination address.
  • Page 170 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# configure terminal Switch(config)# ip dhcp class Service-A Switch(config-dhcp-class)# option 60 hex 112233 Switch(config-dhcp-class)# option 60 hex 102030 Switch(config-dhcp-class)#exit Switch(config)# ip dhcp pool pool1 Switch(config-dhcp-pool)# relay source 172.19.18.0 255.255.255.0 Switch(config-dhcp-pool)# class Service-A Switch(config-dhcp-pool-class)# relay target 10.2.1.2...
  • Page 171 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide None. Command Mode EXEC Mode or Any Configuration Mode. Command Default Level Level: 1. Usage Guideline Use this command to display the effective setting of the trust relay information option function.
  • Page 172 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide This example shows how to displays relay information Option 82 option and insert configuration information for all VLANs. Switch# show ip dhcp relay information option-insert Interface Option-Insert ------------ ---------- vlan1 Enabled...
  • Page 173: Dhcp Snooping Commands

    DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 18. DHCP Snooping Commands 18-1 ip dhcp snooping This command is used to globally enable DHCP snooping. Use the no form of this command to disable DHCP snooping. ip dhcp snooping...
  • Page 174 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Level: 12. Usage Guideline The DHCP snooping function validates the DHCP packets when it arrives at the port on the VLAN that is enabled for DHCP snooping. By default, the validation process will drop the packet if the gateway address is not equal to 0 or Option 82 is present.
  • Page 175 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Use this command to save the DHCP snooping binding database in the stack switch. The database is not saved in a stack member switch. The lease time of the entry will not be modified and the live time will continue to be counted while the entry is provisioned.
  • Page 176 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Default None. Command Mode Privileged EXEC Mode. Command Default Level Level: 12. Usage Guideline Use this command to clear the DHCP binding entry, including the manually configured binding entry. Example This example shows how to clear all snooping binding entries.
  • Page 177 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Parameters Specifies the MAC address of the entry to add or delete. MAC-ADDRESS vlan VLAN-ID Specifies the VLAN of the entry to add or delete. IP-ADDRESS Specifies the IP address of the entry to add or deleted.
  • Page 178 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Command Default Level Level: 12. Usage Guideline This command is available for physical port and port-channel interface configuration. Ports connected to the DHCP server or to other switches should be configured as trusted interfaces.
  • Page 179 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Usage Guideline This command is available for physical port and port-channel interface configuration. This command only takes effect on untrusted interfaces. The system will stop learning binding entries associated with the port if the maximums number is exceeded.
  • Page 180 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide no ip dhcp snooping station-move deny Parameters None. Default By default, the station move is permitted. Command Mode Global Configuration Mode. Command Default Level Level: 12. Usage Guideline When DHCP snooping station move is enabled, the dynamic DHCP snooping binding entry with the same VLAN ID and MAC address on the specific port can move to another port if it detects that a new DHCP process belong to the same VLAN ID and MAC address.
  • Page 181 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide This example shows how to enable the verification that the source MAC address in a DHCP packet matches the client hardware address. Switch# configure terminal Switch(config)# ip dhcp snooping verify mac-address...
  • Page 182 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 18-14 show ip dhcp snooping This command is used to display the DHCP snooping configuration. show ip dhcp snooping Parameters None. Default None. Command Mode EXEC Mode or Any Configuration Mode.
  • Page 183 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide vlan VLAN-ID (Optional) Specifies to display the binding entry based on the VLAN. (Optional) Specifies to display the binding entry based on the port interface INTERFACE-ID (Optional) Specifies a series of interfaces, or separate a range of interfaces from a previous range.
  • Page 184 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# show ip dhcp snooping binding 10.1.1.11 00-01-02-00-00-05 MAC Address IP Address Lease (seconds) Type VLAN Interface ----------------- -------------- ------------------ ------------- ------ --------- 00-01-02-00-00-05 10.1.1.11 1495 dhcp-snooping 100 eth3/0/5 Total Entries: 1 Switch# This example shows how to display DHCP snooping binding entries by IP 10.1.1.1 and MAC 00-01-...
  • Page 185 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Lease (seconds) The IP address lease time. The Binding type configured from the CLI or dynamically learned. Type VLAN The VLAN ID. Interface The interface that connects to the DHCP client host.
  • Page 186 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Unsupported vlans The number of the entries of which the VLAN is disabled. 18-17 based-on hardware-address This command is used to add or delete an entry of the DHCP server screen profile.
  • Page 187 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide None. Command Mode Privileged EXEC Mode. Command Default Level Level: 12. Usage Guideline Use this command to clear the server screen log buffer. The DHCP server screen log buffer keeps tracks the information of packet that does not pass the screening. The first packet that violates the check will be sent to log module and recorded in the server screen log buffer.
  • Page 188 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 18-20 ip dhcp snooping server-screen This command is used to enable or disable DHCP server screening. ip dhcp snooping server-screen [SERVER-IP-ADDRESS [profile PROFILE-NAME]] no ip dhcp snooping server-screen [SERVER-IP-ADDRESS] Parameters SERVER-IP-ADDRESS (Optional) Specifies the trust DHCP sever IP address.
  • Page 189 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide ip dhcp snooping server-screen log-buffer entries NUMBER no ip dhcp snooping server-screen log-buffer entries Parameters NUMBER Specifies the buffer entry number. The maximum number is 1024. Default By default, this value is 32.
  • Page 190 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Example This example shows how to display the DHCP server screen log buffer. Switch# show ip dhcp server-screen log Total log buffer size: 64 VLAN Server IP Client MAC Occurrence ------ --------------- ----------------- ---------------------- 10.20.1.1...
  • Page 191: Dhcpv6 Client Commands

    DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 19. DHCPv6 Client Commands 19-1 clear ipv6 dhcp client This command is used to restart the DHCPv6 client on an interface. clear ipv6 dhcp client INTERFACE-ID Parameters Specifies the VLAN interface to restart the DHCPv6 client.
  • Page 192 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Example This example shows how to display the DHCPv6 DUID for the device. Switch# show ipv6 dhcp This device's DUID is 0001000111A8040D001FC6D1D47B. Switch# This example shows how to display the DHCPv6 setting for interface VLAN 1, when VLAN 1 is DHCPv6 disabled.
  • Page 193: Dhcpv6 Guard Commands

    DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 20. DHCPv6 Guard Commands 20-1 ipv6 dhcp guard policy This command is used to create or modify a DHCPv6 guard policy. This command will enter into the DHCPv6 guard configuration mode. Use the no form of this command to remove the DHCPv6 guard policy.
  • Page 194 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide server messages are allowed on this port. Default By default, this option is client. Command Mode DHCPv6 Guard Policy Configuration Mode. Command Default Level Level: 12. Usage Guideline The command is used to specify the role of the attached device. By default, the device role is client, and all DHCPv6 server messages that came from this port will be dropped.
  • Page 195 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# configure terminal Switch(config)# ipv6 dhcp guard policy dhcp_filter1 Switch(config-dhcp-guard)# match ipv6 access-list list1 Switch(config-dhcp-guard)# 20-4 ipv6 dhcp guard attach-policy This command is used to apply a DHCPv6 guard policy on the specified interface. Use the no form of this command to remove the binding.
  • Page 196 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide EXEC Mode or Any Configuration Mode. Command Default Level Level: 1. Usage Guideline If the policy name is specified, only the specified policy information is displayed. If the policy name is not specified, information is displayed for all policies.
  • Page 197: Dhcpv6 Relay Commands

    DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 21. DHCPv6 Relay Commands 21-1 ipv6 dhcp relay destination This command is used to enable the DHCP for IPv6 relay service on the interface and specify a destination address to which client messages are forwarded to. Use the no form of this command to remove a relay destination.
  • Page 198 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide ipv6 dhcp relay remote-id format SUB-TYPE-NAME no ipv6 dhcp relay remote-id format Parameters SUB-TYPE-NAME Specifies the string that identifies the sub-type for the remote ID to be configured. Default None. Command Mode Global Configuration Mode.
  • Page 199 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# configure terminal Switch(config)# ipv6 dhcp relay remote-id option Switch(config)# 21-4 ipv6 dhcp relay remote-id policy This command is used to configure the Option 37 forwarding policy for the DHCPv6 relay agent. Use the no form of this command to revert to the default setting.
  • Page 200 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide hex HEX-STRING Specifies the hexadecimal string (a maximum of 256 digits) for the UDF of the Remote ID. Default None. Command Mode Global Configuration Mode. Command Default Level Level: 12. Usage Guideline This command is used to configure the UDF for the Remote ID.
  • Page 201 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch # show ipv6 dhcp interface vlan1 vlan1 is in relay mode Relay destinations: FE80::20A:BBFF:FECC:102 via vlan2 Switch # This example shows how to display DHCPv6 information for the interface VLAN 1 when VLAN 1 is not in the DHCPv6 mode.
  • Page 202: Digital Diagnostics Monitoring (Ddm) Commands

    DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 22. Digital Diagnostics Monitoring (DDM) Commands 22-1 show interfaces transceiver This command is used to display the current SFP module operating parameters. show interfaces [INTERFACE-ID [,|-] transceiver [detail] Parameters INTERFACE-ID [,|-] (Optional) Specifies multiple interfaces for transceiver monitoring status display.
  • Page 203 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# show interfaces transceiver detail ++ : high alarm, + : high warning, - : low warning, -- : low alarm mA: milliamperes, mW: milliwatts A: The threshold is administratively configured.
  • Page 204 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 22-3 transceiver-monitoring action shutdown This command is used to shut down a port from an alarm or a warning of an abnormal status. Use the no form of this command to disable the shutdown action.
  • Page 205 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Specifies the low threshold, when the operating parameter falls below this value. It indicates an abnormal status. alarm Specifies the threshold for high alarm or low alarm conditions. warning Specifies the threshold for high warning or low warning conditions.
  • Page 206 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide By default, this option is disabled. Command Mode Interface Configuration Mode. Command Default Level Level: 12. Usage Guideline This command is available for the physical port interface configuration. A user can use this command to enable or disable optical transceiver monitoring function for an SFP port.
  • Page 207 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Global Configuration Mode. Command Default Level Level: 12. Usage Guideline Only SFP/SFP+ port interfaces with optical modules, with transceiver monitoring capability, are valid for this configuration. This command configures the RX power thresholds on the specified port. This value will be stored both in the system and in the SFP/SFP+ transceivers and be converted to the 16-bit format and then written into the SFP module.
  • Page 208 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Usage Guideline Only SFP/SFP+ port interfaces with optical modules, with transceiver monitoring capability, are valid for this configuration. This command configures the RX power thresholds on the specified port. This value will be stored both in the system and in the SFP/SFP+ transceivers and be converted to the 16-bit format and then written into the SFP module.
  • Page 209 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Command Default Level Level: 12. Usage Guideline Only SFP/SFP+ port interfaces with optical modules, with transceiver monitoring capability, are valid for this configuration. This command configures the TX power thresholds on the specified port. This value will be stored both in the system and in the SFP/SFP+ transceivers and be converted to the 16-bit format and then written into the SFP module.
  • Page 210 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Usage Guideline Only SFP/SFP+ port interfaces with optical modules, with transceiver monitoring capability, are valid for this configuration. This command configures the voltage thresholds on the specified port. The value will be stored both in the system and in the SFP/SFP+ transceivers and be converted to the 16-bit format and then written into the SFP module.
  • Page 211: D-Link Discovery Protocol (Ddp) Client Commands

    DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 23. D-Link Discovery Protocol (DDP) Client Commands 23-1 ddp This command is used to enable DDP client function globally or on the specified ports. Use the no form of this command to disable DDP client.
  • Page 212 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Parameters Specifies the report interval to 30 seconds. Specifies the report interval to 60 seconds. Specifies the report interval to 90 seconds. Specifies the report interval to 120 seconds. Never Specifies to stop sending report message.
  • Page 213 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# show ddp D-Link Discovery Protocol state: Enabled Report timer: 60 seconds Switch# This example shows how to display DDP on port 1/0/1. Switch# show ddp interface ethernet 1/0/1 Interface State...
  • Page 214: Domain Name System (Dns) Commands

    DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 24. Domain Name System (DNS) Commands 24-1 clear host This command is used to clear the dynamically learned host entries in the privileged user mode. clear host {all | [HOST-NAME]} Parameters Specifies to clear all host entries.
  • Page 215 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Usage Guideline Use this command to enable the domain name resolution function. The DNS resolver sends the query to the configured name server. The answer replied by the name server will be cached for answering the subsequent requests.
  • Page 216 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide no ip name-server {IP-ADDRESS | IPV6-ADDRESS} [{IP-ADDRESS2 | IPV6-ADDRESS2}] Parameters IP-ADDRESS Specifies the IPv4 address of the domain name server. Specifies the IPv6 address of the domain name server. IPV6-ADDRESS IP-ADDRESS2…IP- Specifies multiple IP addresses, separated by spaces.
  • Page 217 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Example This example shows how to configure the timeout value to 5 seconds. Switch# configure terminal Switch(config)# ip name-server timeout 5 Switch(config)# 24-6 show hosts This command is used to display the DNS configuration.
  • Page 218 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide show ip name_server Parameters None. Default None. Command Mode EXEC Mode or Any Configuration Mode. Command Default Level Level: 1. Usage Guideline Use this command to display the DNS related configuration information.
  • Page 219: Dos Prevention Commands

    DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 25. DoS Prevention Commands 25-1 dos-prevention This command is used to enable and configure the DoS prevention mechanism. Use the no form of this command to reset DoS prevention to the default setting.
  • Page 220 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Example This example shows how to enable the DoS prevention mechanism for land attack. Switch# configure terminal Switch(config)# dos-prevention land Switch(config)# This example shows how to enable the DoS prevention mechanism on all supported types.
  • Page 221 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# show dos-prevention DoS Prevention Information DoS Type State --------------------------------------- -------------- Land Attack Enabled Blat Attack Enabled TCP Null Disabled TCP Xmas Disabled TCP SYN-FIN Disabled TCP SYN SrcPort Less 1024...
  • Page 222 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch#configure terminal Switch(config)# snmp-server enable traps dos-prevention Switch(config)#...
  • Page 223: Dynamic Arp Inspection Commands

    DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 26. Dynamic ARP Inspection Commands 26-1 arp access-list This command is used to create or modify an ARP access list. This command will enter into the ARP access-list configuration mode. Use the no form of this command to remove an ARP access-list.
  • Page 224 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Level: 12. Usage Guideline Use this command to clear the ARP inspection log buffer. Example This example shows how to clear the inspection log. Switch# clear ip arp inspection log Switch# 26-3 clear ip arp inspection statistics This command is used to clear the dynamic ARP inspection statistics.
  • Page 225: Ip Arp Inspection Limit

    DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide interfaces from a previous range. No space is allowed before and after the comma. (Optional) Specifies a range of interfaces. No space is allowed before and after the hyphen. static (Optional) Specifies to drop the packet if the IP-to-Ethernet MAC binding pair is not permitted by the ARP ACL.
  • Page 226 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide For DAI untrusted interfaces, the rate limit is 15 packets per second with a burst interval of 1 second. For DAI trusted interfaces, the rate has no limit. Command Mode Interface Configuration Mode.
  • Page 227 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# configure terminal Switch(config)# ip arp inspection log-buffer entries 64 Switch(config)# 26-7 ip arp inspection trust This command is used to trust an interface for dynamic ARP inspection. Use the no form of this command to disable the trust state.
  • Page 228 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide consistency of the destination MAC address in the Ethernet header against the target MAC address in the ARP payload. (Optional) Specifies to check the ARP body for invalid and unexpected IP addresses. Specifies to check the validity of IP address in the ARP payload.
  • Page 229 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Global Configuration Mode. Command Default Level Level: 12. Usage Guideline When a VLAN is enabled for ARP inspection, the ARP packets, including both the ARP request and response packet belonging to the VLAN arriving at the untrusted interface will be validated. If the IP- to-MAC address binding pair of the source MAC address and the source IP address is not permitted by the ARP ACL or the DHCP snooping binding database, the ARP packet will be dropped.
  • Page 230 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Global Configuration Mode. Command Default Level Level: 12. Usage Guideline Use the no form of this command to reset some of the logging criteria to their defaults. If not specified, all the logging types are reset to log on when the ARP packets are denied.
  • Page 231 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# configure terminal Switch(config)# arp access-list static-arp-list Switch(config-arp-nacl)# permit ip 10.20.0.0 255.255.0.0 mac any Switch(config-arp-nacl)# permit ip 10.30.0.0 255.255.0.0 mac any Switch(config-arp-nacl)# 26-12 show ip arp inspection This command is used to display the status of DAI for a specific range of VLANs.
  • Page 232 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# show ip arp inspection statistics VLAN Forwarded Dropped DHCP Drops ACL Drops ----- --------- --------- ---------- --------- 21546 145261 145261 1024 VLAN DHCP Permits ACL Permits Source MAC Failures -----...
  • Page 233 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# show ip arp inspection Source MAC Validation : Disabled Destination MAC Validation: Disabled IP Address Validation : Disabled VLAN State ACL Match Static ACL ----- ------------- ------------------------------- ---------- Enabled VLAN...
  • Page 234 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# show ip arp inspection interfaces Interface Trust State Rate(pps) Burst Interval --------- ----------- --------- ------------- eth3/0/1 untrusted eth3/0/2 untrusted eth3/0/3 untrusted eth3/0/5 trusted None eth3/0/6 untrusted eth3/0/7 untrusted eth3/0/8 untrusted...
  • Page 235 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# show ip arp inspection log Total log buffer size: 64 Interface VLAN Sender IP Sender MAC Occurrence ---------- -------- ------------- ----------------- -------------------------- eth1/0/1 10.20.1.1 00-20-30-40-50-60 1 (2014-03-28 23:08:66) eth1/0/2 10.5.10.16...
  • Page 236: Error Recovery Commands

    DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 27. Error Recovery Commands 27-1 errdisable recovery This command is used to enable the error recovery for causes and to configure the recovery interval. Use the no form of this command to disable the auto-recovery option or to return interval to the default setting for causes.
  • Page 237 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# configure terminal Switch(config)# errdisable recovery cause psecure-violation interval 200 Switch(config)# This example shows how to enable the auto-recovery option for port security violations. Switch# configure terminal Switch(config)# errdisable recovery cause psecurity-violation...
  • Page 238 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 27-3 snmp-server enable traps errdisable This command is used to enable sending SNMP notifications for error disabled state. Use the no form of this command to disable sending SNMP notifications. snmp-server enable traps errdisable [asserted] [cleared] [notification-rate TRAP-RATE]...
  • Page 239: Ethernet Ring Protection Switching (Erps) Commands

    DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 28. Ethernet Ring Protection Switching (ERPS) Commands For more information, refer to Appendix E - ERPS Information. 28-1 description This command is used to configure the description for Ethernet Ring Protection (ERP) instances.
  • Page 240 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Command Default Level Level: 12. Usage Guideline This command is used to create, modify or delete an ITU-T G.8032 ERP physical ring and enter the ERP configuration mode. Example This example shows how to create an ERP ring named “campus”.
  • Page 241 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Parameters None. Default None. Command Mode G.8032 Profile Configuration Mode. Command Default Level Level: 12. Usage Guideline This command is used to enable or disable the propagation of the topology change notifications from the sub-ERP instance to the major instance.
  • Page 242 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide The APS channel VLAN of a sub-ring instance is also the virtual channel of the sub-ring. Example This example shows how to configure the APS channel VLAN “2” for the ERP instance “1”.
  • Page 243 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide instance INSTANCE-ID no instance INSTANCE-ID Parameters INSTANCE-ID Specifies an ERP instance number. The valid values are from 1 to Default None. Command Mode ERP Configuration Mode. Command Default Level Level: 12.
  • Page 244 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide This example shows how to configure the ring MEL value of ERP instance 1 as 6. Switch#configure terminal Switch(config)#ethernet ring g8032 ring2 Switch(config-erp)#instance 1 Switch(config-erp-instance)#level 6 Switch(config-erp-instance)# 28-9 sub-ring This command is used to specify the sub-ring of a physical ring. Use the no form of this command to remove the specified sub-ring of a physical ring.
  • Page 245 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide None. Command Mode ERP Instance Configuration Mode. Command Default Level Level: 12. Usage Guideline This command is used to associate an ERP instance with a G.8032 profile. Multiple ERP instances can be associated with the same G.8032 profile. The instances associated with the same profile protect the same set of VLANs, or the VLANs protected by one instance is a subset of LANs protected by another instance.
  • Page 246 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 28-12 port1 This command is used to specify the second ring port of a physical ring. Use the no form of this command to remove the settings. port1 {interface INTERFACE_ID | none}...
  • Page 247 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide G.8032 Profile Configuration Mode. Command Default Level Level: 12. Usage Guideline When a defect was cleared, the traffic channel will revert after the WTR timer has expired, which is used to avoid toggling protection states caused by intermitted defects.
  • Page 248 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch#configure terminal Switch(config)#ethernet ring g8032 ring1 Switch(config-erp)#instance 1 Switch(config-erp-instance)#rpl port0 Switch(config-erp-instance)# 28-15 show ethernet ring g8032 This command is used to display information of the ERP instances. show ethernet ring g8032 {status | brief} Parameters Specifies to display the status of the ERP instances.
  • Page 249 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch#show ethernet ring g8032 status Ethernet ring ring2,instance 0 ----------------------------------------- Description: MEL: 1 Connect sub ring: ring1 R-APS Channel: invalid r-aps vlan,Protected VLAN: Profile: Guard timer: 500 milliseconds Hold-Off timer: 0 milliseconds...
  • Page 250 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide WTR timer Time value for WTR timer of the profile TC Propagation / No TC TC is propagated or not propagated in the profile Propagation Revertive / Non-Revertive Ring instances is operated in revertively or non revertively in the profile.
  • Page 251 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide The activated ERP instance will be in non-operational state, if the specified APS channel does not exist, or the specified ports are not the tagged member port of the APS channel VLAN.
  • Page 252: File System Commands

    DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 29. File System Commands 29-1 cd This command is used to change the current directory. cd [DIRECTORY-URL] Parameters Specifies the URL of the directory. If not specified, the current DIRECTORY-URL directory will be shown.
  • Page 253 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 29-2 delete This command is used to delete a file. delete FILE-URL Parameters FILE-URL Specifies the name of the file to be deleted. Default None. Command Mode Privileged EXEC Mode. Command Default Level Level: 15.
  • Page 254 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide If URL is not specified, the current directory is used. By default, the current directly is located at the root of the file system located at local flash. The storage media is mounted in the file system and appears to the user as a sub-directory under the root directory.
  • Page 255 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide FILE-URL Specifies the URL for the file to be displayed. Default None. Command Mode Privileged EXEC Mode. Command Default Level Level: 15. Usage Guideline Use this command to display the contents of a file in the file system. The command is usually used to display text files.
  • Page 256 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Usage Guideline A file can be renamed to a file located either within the same directory or to another directory. Example This example shows how to rename file called “doc.1” to “test.txt”.
  • Page 257 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide specified, all units are displayed. Default None. Command Mode EXEC Mode or Any Configuration Mode. Command Default Level Level: 1. Usage Guideline Use this command to display the information of the storage media available on the system.
  • Page 258: Filter Database (Fdb) Commands

    DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 30. Filter Database (FDB) Commands 30-1 clear mac-address-table This command is used to delete a specific dynamic MAC address, all dynamic MAC addresses on a particular interface, all dynamic MAC addresses on a particular VLAN, or all dynamic MAC addresses from the MAC address table.
  • Page 259 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Default By default, this value is 300 seconds. Command Mode Global Configuration Mode. Command Default Level Level: 12. Usage Guideline Setting the aging time to 0 will disable the MAC address table aging out function.
  • Page 260 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 30-4 mac-address-table learning This command is used to enable MAC address learning on the physical port. Use the no form of this command to disable learning. mac-address-table learning interface INTERFACE-ID [, | -]...
  • Page 261 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Default MAC address notification is disabled. The default trap interval is 1 second. The default number of entries in the history table is 1. Command Mode Global Configuration Mode. Command Default Level Level: 12.
  • Page 262 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide None. Command Mode Global Configuration Mode. Command Default Level Level: 12. Usage Guideline For a unicast MAC address entry, only one interface can be specified. For a multicast MAC address entry, multiple interfaces can be specified. To delete a unicast MAC address entry, there is no need to specify the interface ID.
  • Page 263 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Command Mode VLAN Configuration Mode. Command Default Level Level: 12. Usage Guideline This filtering mode is only applied to multicast packets that are destined for addresses other than those reserved for multicast addresses.
  • Page 264 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# show mac-address-table address 00:02:4B:28:C4:82 VLAN MAC Address Type Ports ------ ------------------ -------- -------- 00-02-4B-28-C4-82 Static Total Entries: 1 Switch# This example shows how to display all the static MAC address table entries.
  • Page 265 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Level: 1. Usage Guideline This command is used to display the MAC address table’s aging time. Example This example shows how to display the MAC address table’s aging time. Switch# show mac-address-table aging-time...
  • Page 266 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# show mac-address-table learning interface ethernet 1/0/1-10 Interface State ------------------------ -------- eth1/0/1 Enabled eth1/0/2 Enabled eth1/0/3 Enabled eth1/0/4 Enabled eth1/0/5 Enabled eth1/0/6 Enabled eth1/0/7 Enabled eth1/0/8 Enabled eth1/0/9 Enabled eth1/0/10 Enabled...
  • Page 267 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch#show mac-address-table notification change interface Interface Added Trap Removed Trap ----------------------- -------------- -------------- eth1/0/1 Disabled Disabled eth1/0/2 Disabled Disabled eth1/0/3 Disabled Disabled eth1/0/4 Disabled Disabled eth1/0/5 Disabled Disabled eth1/0/6 Disabled Disabled...
  • Page 268 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# show mac-address-table notification change history History Index: 1 Operation:ADD Vlan: 1 MAC Address: 00-f8-d0-12-34-56 eth1/0/1 History Index: 2 Operation:DEL Vlan: 1 MAC Address: 00-f8-d0-00-00-01 eth1/0/1 History Index: 3 Operation:DEL Vlan: 1 MAC Address: 00-f8-d0-00-00-02 eth1/0/1...
  • Page 269 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide no snmp-server enable traps mac-notification change Parameters None. Default By default, this option is disabled. Command Mode Global Configuration Mode. Command Default Level Level: 12. Usage Guideline Use this command to enable the sending of SNMP MAC notification traps.
  • Page 270 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# configure terminal Switch(config)# interface eth1/0/2 Switch(config-if)# snmp trap mac-notification change added Switch(config-if)#...
  • Page 271: Garp Vlan Registration Protocol (Gvrp) Commands

    DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 31. GARP VLAN Registration Protocol (GVRP) Commands 31-1 clear gvrp statistics This command is used to clear the statistics for a GVRP port. clear gvrp statistics {all | interface INTERFACE-ID [, | -]}...
  • Page 272 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Command Default Level Level: 12. Usage Guideline Administrators can enable the global GVRP state and individual port’s GVRP state to start GVRP on the port. Example This example shows how to enable the GVRP protocol global state.
  • Page 273 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Parameters Specifies that all VLANs are advertised on the interface. (Optional) Specifies a VLAN or a list VLANs to be added to advertise the VLAN list. remove (Optional) Specifies a VLAN or a list VLANs to be removed from the advertised VLAN list.
  • Page 274 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Command Mode Global Configuration Mode. Command Default Level Level: 12. Usage Guideline When dynamic VLAN creation is enabled, if a port has learned a new VLAN membership and the VLAN does not exist, the VLAN will be created automatically. Otherwise, the newly learned VLAN will not be created.
  • Page 275: Gvrp Timer

    DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide The command is available for both physical ports and port-channel interface configuration. As a forbidden port of a VLAN, a port is forbidden from becoming a member port of the VLAN via the GVRP operation.
  • Page 276 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# configure terminal Switch(config)# interface eth1/0/1 Switch(config-if)# gvrp timer leave-all 500 Switch(config-if)# 31-8 show gvrp configuration This command is used to display the GVRP settings. show gvrp configuration [interface [INTERFACE-ID [,|-]]]...
  • Page 277 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# show gvrp configuration interface eth3/0/5-3/0/6 eth3/0/5 GVRP Status : Enabled Join Time : 20 centiseconds Leave Time : 60 centiseconds Leave-All Time : 1000 centiseconds Advertise VLAN : 1-4094 Forbidden VLAN...
  • Page 278 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# show gvrp statistics interface eth3/0/5—3/0/6 Port JoinEmpty JoinIn LeaveEmpty LeaveIn LeaveAll Empty ----------- ----------- ------------ ----------- ---------- ------------ -------- eth3/0/5 RX TX 4294967296 4294967296 4294967296 4294967296 4294967296 4294967296 eth3/0/6 RX...
  • Page 279: Gratuitous Arp Commands

    DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 32. Gratuitous ARP Commands 32-1 ip arp gratuitous This command is used to enable the learning of gratuitous ARP packets in the ARP cache table. Use the no form of this command to disable ARP control.
  • Page 280 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide A gratuitous ARP request packet is an ARP request packet where the source and the destination IP address are both set to the IP address of the sending device and the destination MAC address is the broadcast address.
  • Page 281 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide...
  • Page 282: Igmp Snooping Commands

    DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 33. IGMP Snooping Commands 33-1 clear ip igmp snooping statistics This command is used to clear the IGMP snooping related statistics. clear ip igmp snooping statistics {all | vlan VLAN-ID | interface INTERFACE-ID}...
  • Page 283 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Command Default Level Level: 12. Usage Guideline In the interface configuration mode, the command is only available for VLAN interface configuration. For a VLAN to operate with IGMP snooping, both the global state and per interface state must be enabled.
  • Page 284 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# configure terminal Switch(config)# vlan 1 Switch(config-vlan)# ip igmp snooping fast-leave Switch(config-vlan)# 33-4 ip igmp snooping last-member-query-interval This command is used to configure the interval at which the IGMP snooping querier sends IGMP group-specific or group-source-specific (channel) query messages.
  • Page 285 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Parameters interface Specifies a static multicast router port. forbidden interface Specifies a port that cannot be multicast router port. INTERFACE-ID (Optional) Specifies an interface or an interface list. The interface can be a physical interface or a port-channel.
  • Page 286 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Command Default Level Level: 12. Usage Guideline This command is only available for VLAN interface configuration. When the function proxy reporting is enabled, the received multiple IGMP report or leave packets for a specific (S, G) will be integrated into one report before being sent to the router port.
  • Page 287 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide ip igmp snooping query-interval SECONDS no ip igmp snooping query-interval Parameters Specifies to configure the interval at which the designated router SECONDS sends IGMP general-query messages. The range is 1 to 31744.
  • Page 288 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Usage Guideline This command is only available for VLAN interface configuration. This command configures the period of which the group member can respond to an IGMP query message before the IGMP Snooping deletes the membership.
  • Page 289 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide ip igmp snooping report-suppression no ip igmp snooping report-suppression Parameters None. Default By default, this option is disabled. Command Mode Interface Configuration Mode. Command Default Level Level: 12. Usage Guideline This command is only available for VLAN interface configuration. The report suppression function only works for IGMPv1 and IGMPv2 traffic.
  • Page 290 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide This command is only available for VLAN interface configuration. The robustness variable provides fine-tuning to allow for expected packet loss on an interface. The value of the robustness variable is used in calculating the following IGMP message intervals: ...
  • Page 291 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide The ip igmp snooping static-group command allows the user to create an IGMP snooping static group in case that the attached host does not support the IGMP protocol. Example This example shows how to statically add a group for IGMP snooping.
  • Page 292 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Parameters Specifies to filter out IGMPv1 messages. Specifies to filter out IGMPv1 and IGMPv2 messages. Default By default, there is no limit on the minimum version. Command Mode Interface Configuration Mode.
  • Page 293 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Command Default Level Level: 1. Usage Guideline Use this command to display IGMP snooping information for all VLANs where IGMP snooping is enabled. Example This example shows how to display IGMP snooping global state.
  • Page 294 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Level: 1. Usage Guideline Use this command to display IGMP snooping group information. Example This example shows how to display IGMP snooping group information. Switch# show ip igmp snooping groups IGMP Snooping Connected Group Membership:...
  • Page 295 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# show ip igmp snooping mrouter VLAN Ports -------- ---------------------------------- 3/0/3-3/0/4 (static) 3/0/6 (forbidden) 4/0/2 (dynamic) 4/0/4 (static) 4/0/3 (dynamic) Total Entries: 2 Switch# 33-19 show ip igmp snooping static-group This command is used to display IGMP snooping statistics group information on the Switch.
  • Page 296 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide show ip igmp snooping statistics {interface [INTERFACE-ID] | vlan [VLAN-ID]} Parameters interface INTERFACE-ID Specifies the interface to display port statistics counters. vlan VLAN-ID Specifies the VLAN ID to display VLAN statistics.
  • Page 297: Interface Commands

    DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 34. Interface Commands 34-1 clear counters This command is used to clear counters for a physical port interface. clear counters {all | interface INTERFACE-ID [,|-]} Parameters Specifies to clear counters for all interfaces.
  • Page 298 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide The specified description corresponds to the MIB object “ifAlias” defined in the RFC 2233. Example This example shows how to add the description “Physical Port 10” to interface eth 1/0/10. Switch# configure terminal...
  • Page 299 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# configure terminal Switch(config)# interface eth2/0/5 Switch(config-if)# This example shows how to enter the interface configuration mode for VLAN 100. Switch# configure terminal Switch(config)# interface vlan100 Switch(config-if)# This example shows how to enter interface configuration mode for port channel 3.
  • Page 300 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 34-5 show counters This command is used to display interface information. show counters [interface INTERFACE-ID] Parameters INTERFACE-ID Specifies that the interface can be a physical port. If no interface is specified, counters of all interfaces will be displayed.
  • Page 301 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch#show counter interface eth 1/0/1 eth1/0/1 counters rxHCTotalPkts : 1176 txHCTotalPkts : 348 rxHCUnicastPkts txHCUnicastPkts rxHCMulticastPkts : 755 txHCMulticastPkts rxHCBroadcastPkts : 421 txHCBroadcastPkts : 348 rxHCOctets : 112581 txHCOctets : 126324...
  • Page 302 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide txSTPDropPkts txHOLDropPkts dot3StatsAlignmentErrors dot3StatsFCSErrors dot3StatsSingleColFrames dot3StatsMultiColFrames dot3StatsSQETestErrors dot3StatsDeferredTransmisions dot3StatsLateCollisions dot3StatsExcessiveCollisions dot3StatsInternalMacTransmitErrors : 0 dot3StatsCarrierSenseErrors dot3StatsFrameTooLongs dot3StatsInternalMacReceiveErrors linkChange Switch# 34-6 show interfaces This command is used to display the interface information. show interfaces [INTERFACE-ID [- | ,]]...
  • Page 303 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide This example shows how to display the NULL interface information for interface null0. Switch# show interfaces null0 Null0 is enabled, link status is up Interface type: Null Interface description: Null0 for MIS Switch# This example shows how to display the interface information for eth1/0/1.
  • Page 304 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide EXEC Mode or Any Configuration Mode. Command Default Level Level: 1. Usage Guideline This command allows the user to display switch port statistics counters. Example This example shows how to display switch port counters on ports 1 to 8.
  • Page 305 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# show interfaces ethernet 2/0/1-8,3/0/1-4 counters errors Port Align-Err Fcs-Err Rcv-Err Undersize Xmit-Err OutDiscard --------- ---------- --------- -------- ---------- --------- ----------- eth2/0/1 eth2/0/2 eth2/0/3 eth2/0/4 eth2/0/5 eth2/0/6 eth2/0/7 eth2/0/8 eth3/0/1 eth3/0/2...
  • Page 306 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide show interfaces [INTERFACE-ID [,|-]] status Parameters INTERFACE-ID (Optional) Specifies the interface ID. If no interface is specified, the connection status of all switch ports will be displayed. Default None. Command Mode EXEC Mode or Any Configuration Mode.
  • Page 307 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide None. Command Mode EXEC Mode or Any Configuration Mode. Command Default Level Level: 1. Usage Guideline This command displays the Switch’s physical port utilization. Example This example shows how to display the Switch’s port utilization.
  • Page 308 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Example This example shows how to display auto-negotiation information. Switch# show interfaces eth1/0/1-2 auto-negotiation eth1/0/1 Auto Negotiation: Disabled eth1/0/2 Auto Negotiation: Enabled Speed auto downgrade: Disabled Remote Signaling: Detected Configure Status: Configuring...
  • Page 309 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# configure terminal Switch(config)# interface eth1/0/1 Switch(config-if)# shutdown...
  • Page 310: Ip Source Guard Commands

    DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 35. IP Source Guard Commands 35-1 ip verify source vlan dhcp-snooping This command is used to enable IP source guard for a port. Use the no form of this command to disable IP source guard.
  • Page 311 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Parameters MAC-ADDRESS Specifies the MAC address of the IP-to-MAC address binding entry. vlan VLAN-ID Specifies the VLAN that the valid host belongs to. Specifies the IP address of the IP-to-MAC address binding entry.
  • Page 312 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide IP-ADDRESS (Optional) Specifies to display the IP-source guard binding entry based on IP address. MAC-ADDRESS (Optional) Specifies to display the IP-source guard binding entry based on MAC address. dhcp-snooping (Optional) Specifies to display the IP-source guard binding entry learned by DHCP binding snooping.
  • Page 313 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# show ip source binding 10.1.1.10 MAC Address IP Address Lease(sec) Type VLAN Interface ----------------- --------------- ---------- ------------- ----- ---------- 00-01-01-01-01-01 10.1.1.10 infinite static eth3/0/3 Total Entries: 1 Switch# This example shows how to display IP Source Guard binding entries by IP address 10.1.1.11, MAC address 00-01-01-01-01-10, at VLAN 100 on interface eth3/0/3 and learning by DHCP snooping.
  • Page 314 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Command Mode EXEC Mode or Any Configuration Mode. Command Default Level Level: 1. Usage Guideline Use this command to display the hardware port ACL entries for a port in the hardware table. It indicates the hardware filter behavior that IP source guard is verified upon.
  • Page 315 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide VLAN The VLAN number of the client interface.
  • Page 316: Ip Utility Commands

    DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 36. IP Utility Commands 36-1 ping This command is used to diagnose basic network connectivity. ping {[ip] IP-ADDRESS | [ipv6] IPV6-ADDRESS | HOST-NAME} [count TIMES] [timeout SECONDS] [source {IP-ADDRESS | IPV6-ADDRESS}] Parameters (Optional) Specifies the destination IPv4 address.
  • Page 317 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# ping 2001:238:f8a:77:7c10:41c0:6ddd:ecab Reply from 2001:238:f8a:77:7c10:41c0:6ddd:ecab , bytes=100, time<10 ms Reply from 2001:238:f8a:77:7c10:41c0:6ddd:ecab , bytes=100, time<10 ms Reply from 2001:238:f8a:77:7c10:41c0:6ddd:ecab , bytes=100, time<10 ms Reply from 2001:238:f8a:77:7c10:41c0:6ddd:ecab , bytes=100, time<10 ms...
  • Page 318 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide The traceroute command uses the TTL field in the IP header to cause routers and servers to generate specific return messages. traceroute starts by sending a UDP datagram to the destination host with the TTL field set to 1.
  • Page 319 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Default None. Command Mode Interface Configuration Mode. Command Default Level Level: 12. Usage Guideline This command is only available for VLAN interface configuration. Use the command together with the ip forward-protocol command to control the forwarding of UDP broadcast packets.
  • Page 320 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide  Domain Naming System (port 53)  Time service (port 37)  NetBIOS Name Server (port 137)  NetBIOS Datagram Server (port 138)  TACACS service (port 49)  IEN-116 Name Service (port 42) If this command does not specify the port number, then the default port number are applied.
  • Page 321 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide show ip forward-protocol udp Parameters None. Default None. Command Mode EXEC Mode or Any Configuration Mode. Command Default Level Level: 1. Usage Guideline Use this command to show all specified UDP ports.
  • Page 322: Ip-Mac-Port Binding (Impb) Commands

    DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 37. IP-MAC-Port Binding (IMPB) Commands 37-1 clear ip ip-mac-port-binding violation This command is used to clear IP-MAC-Port Binding (IMPB) blocked entries. clear ip ip-mac-port-binding violation {all | interface INTERFACE-ID | MAC-ADDRESS} Parameters Specifies to clear all of the violation entries.
  • Page 323 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Interface Configuration Mode. Command Default Level Level: 12. Usage Guideline When a port is enabled for IMPB strict-mode access control, a host can only access the port after the host sends ARP or IP packets and the ARP packet or IP packet sent by the host passes the binding check.
  • Page 324 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide This example shows how to display all of the entries blocked by the IMPB access control. Switch# show ip ip-mac-port-binding violation Port VLAN MAC Address ------- --------- ------------------- eth3/0/3 01-00-0c-cc-cc-cc eth3/0/3...
  • Page 325 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide This example shows how to enable sending traps for IP-MAC-Port Binding. Switch# configure terminal Switch(config)# snmp-server enable traps ip-mac-port-binding Switch(config)#...
  • Page 326: Ipv6 Snooping Commands

    DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 38. IPv6 Snooping Commands 38-1 ipv6 snooping policy This command is used to create or modify an IPv6 snooping policy. This command will enter the IPv6 snooping configuration mode. Use the no form of this command to delete an IPv6 snooping policy.
  • Page 327 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Command Default Level Level: 12. Usage Guideline ND Snooping is designed for a stateless auto-configuration assigned IPv6 address and manually configured IPv6 address. Before assigning an IPv6 address, the host must perform Duplicate Address Detection first.
  • Page 328 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 38-4 ipv6 snooping attach-policy This command is used to apply an IPv6 snooping policy to a specified VLAN. Use the no form of this command to remove the binding. ipv6 snooping policy attach-policy POLICY-NAME...
  • Page 329 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Level: 12. Usage Guideline When station move is permitted, the dynamic snooping binding entry with same VLAN ID and MAC address on the specific port can move to another port if it detects the following conditions: ...
  • Page 330 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Target VLAN The name of the target. The target is a VLAN list.
  • Page 331: Ipv6 Source Guard Commands

    DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 39. IPv6 Source Guard Commands 39-1 ipv6 source binding vlan This command is used to add a static entry to the binding table. Use the no form of this command to remove the static binding entry.
  • Page 332 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Default None. Command Mode Global Configuration Mode. Command Default Level Level: 12. Usage Guideline The command is used to create a source guard policy name. This command will enter into the source guard policy configuration mode.
  • Page 333 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 39-4 permit link-local This command is used to allow hardware permitted data traffic send by the link-local address. Use the no form of this command to disable this function permit link-local...
  • Page 334 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide address binding table’s entries. The binding table includes the dynamic table (created by IPv6 snooping) and the static table (created by the ipv6 neighbor binding vlan command) If the policy name is not specified, the default source guard policy will permit packets sent by the auto- configured address and deny packets sent by the link-local address.
  • Page 335 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Parameters VLAN-ID (Optional) Specifies to displays the binding entries that match the specified VLAN. INTERFACE-ID (Optional) Specifies to displays the binding entries that match the specified interface number. (Optional) Specifies to displays the binding entries that match the IPV6-ADDRESS specified IPv6 address.
  • Page 336 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide...
  • Page 337: Japanese Web-Based Access Control (Jwac) Commands

    DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 40. Japanese Web-based Access Control (JWAC) Commands 40-1 jwac authentication-method This command is used to configure the JWAC authentication method. Use the no form of this command to revert to the default setting.
  • Page 338 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Parameters None. Default By default, this option is disabled. Command Mode Interface Configuration Mode. Command Default Level Level: 12. Usage Guideline The JWAC interface configuration command allows hosts connected to the port to do authentication via the Web browser.
  • Page 339 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide This example shows how to enable the JWAC forcible logout function. Switch# configure terminal Switch(config)# jwac forcible-logout Switch(config)# 40-4 jwac max-authenticating-user This command is used to configure the maximum authenticating user number on the specified interface.
  • Page 340 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Default By default, this option is English. Command Mode Global Configuration Mode. Command Default Level Level: 12. Usage Guideline The JWAC Web server will return the authentication page to the client for local authentication. There are Japanese and English versions for these authentication pages.
  • Page 341 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide login-window-title is “Authentication Login”. username-title is “User Name”. password-title is “Password”. logout-window-title is “Logout From The Network”. Copyright information is not set. Command Mode Global Configuration Mode. Command Default Level Level: 12.
  • Page 342 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide None. Command Mode Global Configuration Mode. Command Default Level Level: 12. Usage Guideline This command allows you to configure the URL of the Quarantine Server. If redirection is enabled and the redirection destination is the Quarantine Server, when an HTTP request from an unauthenticated...
  • Page 343 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide This example shows how to enable the JWAC Quarantine server function. Switch# configure terminal Switch(config)# jwac quarantine-server monitor Switch(config)# 40-9 jwac quarantine-server timeout This command is used to set the JWAC Quarantine server timeout period. Use the no form of this command to revert to the default setting.
  • Page 344 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide delay-time SECOND (Optional) Specifies the time period after which the unauthenticated host will be redirected. This unit is in seconds. The range is from 0 to 10 seconds. Default By default, JWAC redirect to the JWAC login page.
  • Page 345 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Command Mode Global Configuration Mode. Command Default Level Level: 12. Usage Guideline JWAC is a feature designed to authenticate a user when the user is trying to access the Internet via the switch.
  • Page 346 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Example This example shows how to add a JWAC update server with the network address 10.90.90.0/24 and TCP port 80. Switch# configure terminal Switch(config)# jwac update-server 10.90.90.90/24 tcp 80 Switch(config)# 40-13 jwac udp-filtering This command is used to enable the JWAC UDP filtering function.
  • Page 347 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide ipv6 IPV6-ADDRESS Specifies the JWAC virtual IPv6 address. Default None. Command Mode Global Configuration Mode. Command Default Level Level: 12. Usage Guideline The virtual IP of JWAC is just the characterization of the JWAC function on the switch. All JWAC authentication processes communicate with this IP address, however, the virtual IP does not respond to any ICMP packets or ARP requests.
  • Page 348: Jumbo Frame Commands

    DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 41. Jumbo Frame Commands 41-1 max-rcv-frame-size This command is used to configure the maximum Ethernet frame size allowed. Use the no form of this command to revert to the default setting.
  • Page 349: Link Aggregation Control Protocol (Lacp) Commands

    DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 42. Link Aggregation Control Protocol (LACP) Commands 42-1 channel-group This command is used to assign an interface to a channel group. Use the no form of this command to remove an interface from a channel-group.
  • Page 350 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 42-2 lacp port-priority This command is used to configure the port priority. Use the no form of this command to revert the port priority to the default settings. lacp port-priority PRIORITY...
  • Page 351 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Command Mode Interface Configuration Mode. Command Default Level Level: 12. Usage Guideline This command is available for physical port interface configuration. Example This example shows how to configure the port LACP timeout to long mode on Ethernet interface 1/0/1.
  • Page 352 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 42-5 port-channel load-balance This command is used to configure the load balance algorithm that the Switch uses to distribute packets across ports in the same channel. Use the no form of this command to revert to the default setting.
  • Page 353 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide detail (Optional) Specifies to display detailed channel group information. (Optional) Specifies to display neighbor information. neighbor load-balance (Optional) Specifies to display the load balance information. sys-id (Optional) Specifies to display the system identifier that is being used by LACP.
  • Page 354 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# show channel-group channel 3 neighbor Flag: S - Port is requesting Slow LACPDUs, F - Port is requesting Fast LACPDUs, A - Port is in Active mode, P - Port is in Passive mode,...
  • Page 355: Link Layer Discovery Protocol (Lldp) Commands

    DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 43. Link Layer Discovery Protocol (LLDP) Commands 43-1 clear lldp counters This command is used to delete LLDP statistics. clear lldp counters [all | interface INTERFACE-ID [, | -]] Parameters Specifies to clear LLDP counter information for all interfaces and global LLDP statistics.
  • Page 356 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide before and after the comma. (Optional) Specifies a range of physical interfaces. No spaces before and after the hyphen. Default None. Command Mode Privileged EXEC Mode. Command Default Level Level: 12.
  • Page 357 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide no VLAN ID is specified, all applicable VLANs will be sent. In the no form of this command, if no VLAN ID is specified, all configured VLANs for the VLAN name TLV will be cleared and no VLAN name TLV will be sent.
  • Page 358 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# configure terminal Switch(config)#interface eth1/0/1 Switch(config-if)#lldp dot1-tlv-select vlan-name 1-3 Switch(config-if)# This example shows how to enable the LACP Protocol Identity TLV advertisement. Switch# configure terminal Switch(config)# interface eth1/0/1 Switch(config-if)# lldp dot1-tlv-select protocol-identity lacp...
  • Page 359 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Example This example shows how to enable the advertising MAC/PHY Configuration/Status TLV. Switch# configure terminal Switch(config)# interface eth1/0/1 Switch(config-if)# lldp dot3-tlv-select mac-phy-cfg Switch(config-if)# 43-5 lldp fast-count This command is used to configure the LLDP-MED fast start repeat count option on the Switch. Use the no form of this command to revert to the default setting.
  • Page 360 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide VALUE Specifies the multiplier on the LLDPDUs transmission interval that used to compute the TTL value of an LLDPDU. This value must be between 2 and 10. Default By default, this value is 4.
  • Page 361 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide When no optional address is specified along with the command lldp management-address, the Switch will find least one IPv4 and IPv6 address of the VLAN with the smallest VLAN ID. If no applicable IPv4/IPv6 address exists, then no management address TLV will be advertised.
  • Page 362 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide lldp med-tlv-select [capabilities | inventory-management | network-policy | power- management] no lldp med-tlv-select [capabilities | inventory-management | network-policy | power- management] Parameters capabilities (Optional) Specifies to transmit the LLDP-MED capabilities TLV.
  • Page 363 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Command Mode Interface Configuration Mode. Command Default Level Level: 12. Usage Guideline This command is available for physical port configuration. This command is used to enable a physical interface to receive LLDP messages. When LLDP is not running, the Switch does not receive LLDP messages.
  • Page 364 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 43-11 lldp run This command is used to enable the Link Layer Discovery Protocol (LLDP) globally. Use the no form of this command to revert to the default setting. lldp run...
  • Page 365 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Level: 12. Usage Guideline This is a global control for the LLDP forward. When the LLDP global state is disabled and LLDP forwarding is enabled, the received LLDPDU packet will be forwarded.
  • Page 366 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# configure terminal Switch(config)# interface ethernet 1/0/1 Switch(config-if)# lldp tlv-select Switch(config-if)# This example shows how to enable advertising the system name TLV. Switch# configure terminal Switch(config)# interface ethernet 1/0/1 Switch(config-if)# lldp tlv-select system-name...
  • Page 367 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Parameters SECONDS Specifies the delay value for sending successive LLDPDUs on an interface. The valid values are from 1 to 8192 seconds and should not be greater than one-fourth of the transmission interval timer.
  • Page 368 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# configure terminal Switch(config)# lldp tx-interval 50 Switch(config)# 43-17 snmp-server enable traps lldp This command is used to enable the LLDP and LLDP-MED trap state. snmp-server enable traps lldp [med] no snmp-server enable traps lldp [med] Parameters (Optional) Specifies to enable the LLDP-MED trap state.
  • Page 369 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Interface Configuration Mode. Command Default Level Level: 12. Usage Guideline Use the lldp notification enable command to enable the sending of LLDP notifications. Use the lldp med notification enable command to enable the sending of LLDP-MED notifications.
  • Page 370 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide show lldp Parameters None. Default None. Command Mode EXEC Mode or Any Configuration Mode. Command Default Level Level: 1. Usage Guideline This command is used to display the LLDP system’s global configurations.
  • Page 371 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Parameters INTERFACE-ID Specifies to display the LLDP configuration for a specific interface. Valid interfaces are physical interfaces. (Optional) Specifies a series of physical interfaces. No spaces before and after the comma.
  • Page 372 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch#show lldp interface ethernet 1/0/1 Port ID: eth1/0/1 ------------------------------------------------------------------------------ Port ID :eth1/0/1 Admin Status :TX and RX Notification :Disabled Basic Management TLVs: Port Description :Enabled System Name :Enabled System Description :Enabled...
  • Page 373 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 43-22 show lldp local interface This command is used to display physical interface information that will be carried in the LLDP TLVs and sent to neighbor devices. show lldp local interface INTERFACE-ID [, | -] [brief | detail] Parameters Specifies the interface’s ID.
  • Page 374 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch#show lldp local interface ethernet 1/0/1 detail Port ID: eth1/0/1 ----------------------------------------------------------------------------- Port ID Subtype : Local Port ID : eth1/0/1 Port Description : D-Link Corporation DGS-1510-28XMP 1.30.003 Port 1 on Unit 1...
  • Page 375 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch#show lldp local interface ethernet 1/0/1 brief Port ID: eth1/0/1 ----------------------------------------------------------------------------- Port ID Subtype : Local Port ID : eth1/0/1 Port Description : D-Link Corporation DGS-1510-28XMP 1.30.003 Port 1 on Unit 1...
  • Page 376 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# show lldp management-address Address 1 : (default) ------------------------------------------------ Subtype : IPv4 Address : 10.90.90.90 IF Type : IfIndex : 1.3.6.1.4.1.171.10.118.2 Advertising Ports Address 2 : ------------------------------------------------ Subtype : IPv4 Address : 10.90.90.90...
  • Page 377 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Example This example shows how to display information about neighboring devices learned by LLDP on eth4/0/9 in detailed mode. Switch# show lldp neighbor interface eth4/0/9 detail Port ID : eth4/0/9 -------------------------------------------------------------------------------...
  • Page 378 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Tagged Inventory Management (None) Switch# This example shows how to display remote LLDP information in the normal mode. Switch# show lldp neighbor interface eth3/0/1 Port ID : 1 ---------------------------------------------------------------------- Remote Entities Count : 2...
  • Page 379 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Extended power via MDI : (See Detail) Network policy : (See Detail) Inventory Management : (See Detail) Unknown TLVs Count Switch# This example shows how to display the neighbor information on eth3/0/1 to eth3/0/2 in brief mode.
  • Page 380 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide show lldp traffic Parameters None. Default None. Command Mode EXEC Mode or Any Configuration Mode. Command Default Level Level: 1. Usage Guideline The global LLDP traffic information displays an overview of neighbor detection activities on the Switch.
  • Page 381 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide interfaces from a previous range. No spaces before and after the comma. (Optional) Specifies a range of interfaces. No spaces before and after the hyphen. Default None. Command Mode EXEC Mode or Any Configuration Mode.
  • Page 382: Loopback Detection (Lbd) Commands

    DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 44. Loopback Detection (LBD) Commands 44-1 loopback-detection (Global) This command is used to enable the loopback detection function globally. Use the no form of this command to disable the function globally.
  • Page 383 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide This example shows how to enable the port-based loopback detection function globally and set the detection mode to port-based. Switch# configure terminal Switch(config)# loopback-detection Switch(config)# loopback-detection mode port-based Switch(config)# 44-2 loopback-detection (Interface) This command is used to enable the loopback detection function for an interface.
  • Page 384 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Default By default, this value is 10 seconds. Command Mode Global Configuration Mode. Command Default Level Level: 12. Usage Guideline Use this command to configure the interval at which LBD packets are sent to discover the loop occurrence.
  • Page 385 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# configure terminal Switch(config)# loopback-detection vlan 100-200 Switch(config)# 44-5 show loopback-detection This command is used to display the current loopback detection control settings. show loopback-detection [interface INTERFACE-ID [, | -]] Parameters (Optional) Specifies the interface’s ID to be displayed.
  • Page 386 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# show loopback-detection interface eth1/0/1 Interface Result Time Left(sec) ------------- ------------------ ------------ eth1/0/1 Normal Switch# This example shows how to displays the loopback detection status for port-channel 2. Switch# show loopback-detection interface port-channel2...
  • Page 387 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# configure terminal Switch(config)# snmp-server enable traps loopback-detection. Switch(config)#...
  • Page 388: Mac Authentication Commands

    DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 45. MAC Authentication Commands 45-1 mac-auth system-auth-control This command is used to enable MAC authentication globally. Use the no form of this command to disable the MAC authentication globally. mac-auth system-auth-control...
  • Page 389 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Level: 12. Usage Guideline This command is only available for physical port interface configuration. It can be used to enable MAC authentication on the specified interface. In addition, MAC authentication has the following limitations: ...
  • Page 390 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# configure terminal Switch(config)# mac-auth password newpass Switch(config)# 45-4 mac-auth username This command is used to configure the username of local and RADIUS authentication. Use the no form of this command to restore the username to the client’s MAC address.
  • Page 391 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Command Mode Global Configuration Mode, Command Default Level Level: 12. Usage Guideline Use this command to enable or disable sending SNMP notifications for MAC authentication. Example This example shows how to enable sending trap for MAC authentication.
  • Page 392: Mirror Commands

    DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 46. Mirror Commands 46-1 monitor session destination interface This command is used to configure the destination interface for a port monitor session, allowing packets on source ports to be monitored via a destination port. Use the no form of this command to delete a port monitor session or remove the destination interface of the session.
  • Page 393 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide no monitor session SESSION-NUMBER Parameters session SESSION-NUMBER Specifies the session number for the port monitor session. The valid range is 1 to 4. interface INTERFACE-ID Specifies the source interface for a port monitor session.
  • Page 394 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide monitor session SESSION-NUMBER source acl ACCESS-LIST-NAME no monitor session SESSION-NUMBER source acl ACCESS-LIST-NAME Parameters session SESSION-NUMBER Specifies the session number for the port monitor session. The valid range is 1 to 4.
  • Page 395 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# show monitor session 1 Session 1 Session Type: local session Destination Port: Ethernet1/0/1 Source Ports: Both: Ethernet1/0/2 (only for TX forwarding) Ethernet1/0/3 (only for TX forwarding) Ethernet1/0/4 Ethernet1/0/5 Ethernet1/0/7 Total Entries: 1...
  • Page 396: Mld Snooping Commands

    DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 47. MLD Snooping Commands 47-1 clear ipv6 mld snooping statistics This command is used to clear the statistic counter of the Switch. clear ipv6 mld snooping statistics {all | vlan VLAN-ID | interface INTERFACE-ID}...
  • Page 397 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Command Default Level Level: 12. Usage Guideline For a VLAN to operate with MLD snooping, both the global state and per interface state must be enabled. On a VLAN, the setting of IGMP snooping and MLD snooping are independent. That is, IGMP snooping and MLD snooping can be simultaneously enabled on the same VLAN.
  • Page 398 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# configure terminal Switch(config)# vlan 1 Switch(config-vlan)# ipv6 mld snooping fast-leave Switch(config-vlan)# 47-4 ipv6 mld snooping last-listener-query-interval This command is used to configure the interval at which the MLD snooping querier sends MLD group- specific or group-source-specific (channel) query messages.
  • Page 399 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Parameters interface Specifies a range of interfaces as being connected to multicast- enabled routers. forbidden interface Specifies a range of interfaces as being not connected to multicast- enabled routers. Specifies an interface or an interface list. No space is allowed INTERFACE-ID before and after the comma.
  • Page 400 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Parameters source IPV6-ADDRESS (Optional) Specifies the source IP address of proxy reporting. Default By default, this option is disabled. Command Mode Interface Configuration Mode. Command Default Level Level: 12. Usage Guideline The command is only available for VLAN interface configuration.
  • Page 401 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide This example shows how to enable the MLD snooping querier state on VLAN 1. Switch# configure terminal Switch(config)# vlan 1 Switch(config-vlan)# ipv6 mld snooping querier Switch(config-vlan)# 47-8 ipv6 mld snooping query-interval This command is used to configure the interval at which the MLD snooping querier sends MLD general query messages periodically.
  • Page 402 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide SECONDS Specifies to set the maximum response time, in seconds, advertised in MLD Snooping queries. The range is from 1 to 25. Default By default, this value is 10 seconds. Command Mode Interface Configuration Mode.
  • Page 403 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# configure terminal Switch(config)# vlan 1000 Switch(config-vlan)# ipv6 mld snooping query-version 1 Switch(config-vlan)# 47-11 ipv6 mld snooping report-suppression This command is used to enable MLD report suppression on a VLAN. Use the no form of this command to disable report suppression on a VLAN.
  • Page 404 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Default By default, this value is 2. Command Mode Interface Configuration Mode. Command Default Level Level: 12. Usage Guideline The command is only available for VLAN interface configuration. The robustness variable provides fine-tuning to allow for expected packet loss on an interface. The value of the robustness variable is used in calculating the following MLD message intervals: ...
  • Page 405 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Usage Guideline The command is only available for VLAN interface configuration. This command applies to MLD snooping on a VLAN interface to statically add group membership entries. The ipv6 mld snooping static-group command allows the user to create an MLD snooping static group in case that the attached host does not support MLD protocol.
  • Page 406 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide ipv6 mld snooping minimum-version 2 no ipv6 mld snooping minimum-version Parameters None. Default No limit on minimum version. Command Mode Interface Configuration Mode. Command Default Level Level: 12. Usage Guideline The command is only available for VLAN interface configuration. This setting only applies to filtering of MLD membership reports.
  • Page 407 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# show ipv6 mld snooping MLD snooping global state: Enabled VLAN #1 configuration MLD snooping state : Enabled Minimum version : v2 Fast leave : Enabled (host-based) Report suppression : Enabled...
  • Page 408 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# show ipv6 mld snooping groups MLD Snooping Connected Group Membership: VLAN ID Group address Source address Exp(sec) Interface ------- ------------------- ------------------- -------- --------- FF1E:: 2/0/7 FF1E::3 2/0/7 FF1E::4 3620:110:1::3a2b 2/0/7...
  • Page 409 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# show ipv6 mld snooping mrouter VLAN Ports ----- ----------------------------- T1 (dynamic) 2/0/48 (static) T1 (dynamic) 4094 1/0/12 (forbidden) T1 (dynamic) Total Entries: 3 Switch# 47-19 show ipv6 mld snooping static-group This command is used to display MLD snooping static group information on the Switch.
  • Page 410 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 47-20 show ipv6 mld snooping statistics This command is used to display MLD snooping statistics information on the Switch. show ipv6 mld snooping statistics {interface [INTERFACE-ID] | vlan [VLAN-ID]} Parameters interface INTERFACE-ID Specifies the interface of which to display the port statistics counter.
  • Page 411: Multiple Spanning Tree Protocol (Mstp) Commands

    DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 48. Multiple Spanning Tree Protocol (MSTP) Commands 48-1 instance This command is used to map a VLAN or a set of VLANs to an MST instance. Use the no instance without VLANs specified to remove instances. Use the no instance with VLAN specified to return the VLANs to the default instance (CIST).
  • Page 412 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide no name NAME Parameters NAME Specifies the name given for a specified MST region. The name string has a maximum length of 32 characters and the type is a general string which allows spaces.
  • Page 413 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide This example shows how to configure the revision level of the MSTP configuration to 2. Switch# configure terminal Switch(config)# spanning-tree mst configuration Switch(config-mst)# revision 2 Switch(config-mst)# 48-4 show spanning-tree mst This command is used to display the information that used in the MSTP version.
  • Page 414 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch#show spanning-tree mst detail Spanning tree: Disabled,protocol: RSTP Number of MST instances: 1 >>>>MST00 vlans mapped : 1-4094 Bridge Address: 00-01-02-03-04-00, Priority: 32768 (32768 sysid 0) Designated Root Address: 00-00-00-00-00-00, Priority: 0 (0 sysid 0)
  • Page 415 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch#show spanning-tree mst Spanning tree: Disabled,protocol: RSTP Number of MST instances: 1 >>>>MST00 vlans mapped : 1-4094 Bridge Address: 00-01-02-03-04-00, Priority: 32768 (32768 sysid 0) Designated Root Address: 00-00-00-00-00-00, Priority: 0 (0 sysid 0)
  • Page 416 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# show spanning-tree mst instance 2 interface eth3/0/3-4 >>>>MST02 vlans mapped: Bridge Address:00-12-d9-87-47-00 , Priority: 32770 (32768 sysid 2) Designated Root Address:00-12-d9-87-47-00 , Priority: 32770 Designated Bridge Address:00-12-d9-87-47-00 , Priority: 32770...
  • Page 417 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Level: 12. Usage Guideline When entering the cost value, do not include a comma in the entry. For example, enter 1000, not 1,000. Example This example shows how to configure the interface’s path cost.
  • Page 418 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide max-hops HOP-COUNT Specifies the MSTP maximum hop count number. The range is from 1 to 40 hops. Default By default, this value is 20 hops. Command Mode Global Configuration Mode. Command Default Level Level: 12.
  • Page 419 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 48-9 spanning-tree mst priority This command is used to configure the bridge priority value for the selected MSTP instance. Use the no form of this command to revert to the default setting.
  • Page 420: Neighbor Discovery (Nd) Inspection Commands

    DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 49. Neighbor Discovery (ND) Inspection Commands 49-1 ipv6 nd inspection policy This command is used to create an ND inspection policy. This command will enter into the ND inspection policy configuration mode. Use the no form of this command to remove the ND inspection policy.
  • Page 421 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Command Mode ND Inspection Policy Configuration Mode. Command Default Level Level: 12. Usage Guideline When the Switch receives an ND message that contains a link-layer address, the source MAC address is checked against the link-layer address. The packet will be dropped if the link-layer address and the MAC addresses are different from each other.
  • Page 422 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# configure terminal Switch(config)# ipv6 nd inspection policy policy1 Switch(config-nd-inspection)# device-role host Switch(config-nd-inspection)# 49-4 ipv6 nd inspection attach-policy This command is used to apply an ND inspection policy on the specified interface. Use the no form of this command to remove the ND inspection policy.
  • Page 423 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide POLICY-NAME (Optional) Specifies the IPv6 RA guard policy name. Default None. Command Mode EXEC Mode or Any Configuration Mode. Command Default Level Level: 1. Usage Guideline If the policy name is specified, only the specified policy information is displayed. If the policy name is not specified, information is displayed for all policies.
  • Page 424: Network Access Authentication Commands

    DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 50. Network Access Authentication Commands 50-1 authentication guest-vlan This command is used to configure the guest VLAN setting. Use the no form of this command to remove the guest VLAN. authentication guest-vlan VLAN-ID...
  • Page 425 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide authentication host-mode {multi-host | multi-auth [vlan VLAN-ID [, | -]]} no authentication host-mode [multi-auth vlan VLAN-ID [, | -]] Parameters multi-host Specifies the port to operate in the multi-host mode. Only a single authentication is performed and all hosts connected to the port are allowed.
  • Page 426 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Parameters None. Default By default, this option is disabled. Command Mode Interface Configuration Mode. Command Default Level Level: 12. Usage Guideline Use this command to enable periodic re-authentication for a port.
  • Page 427 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# configure terminal Switch(config)# interface eth1/0/1 Switch(config-if)# authentication timer inactivity 240 Switch(config-if)# 50-5 authentication timer reauthentication This command is used to configure the timer to re-authenticate a session. Use the no form of this command to revert to the default setting.
  • Page 428 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide By default, this value is 60 seconds. Command Mode Interface Configuration Mode. Command Default Level Level: 12. Usage Guideline The Switch will be in the quiet state for a failed authentication session until the expiration of the timer.
  • Page 429 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# configure terminal Switch(config)# authentication username user1 password pass1 Switch(config)# 50-8 clear authentication sessions This command is used to remove authentication sessions. clear authentication sessions {mac | wac | dot1x | all | interface INTERFACE-ID [mac | wac |...
  • Page 430 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide lowercase Specifies that when using the lowercase format, the RADIUS authentication username will be formatted as: aa-bb-cc-dd-ee-ff. uppercase Specifies that when using uppercase format, the RADIUS authentication username will be formatted as: AA-BB-CC-DD-EE- Specifies that when using “-“...
  • Page 431 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Specifies that if any of the authentication method (802.1X, MAC- based Access Control, WAC, or JWAC) to passes, then pass. mac-jwac Specifies to verify MAC-based authentication first. If the client passes, JWAC will be verified next. Both authentication methods need to be passed.
  • Page 432 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Command Mode Global Configuration Mode. Interface Configuration Mode. Command Default Level Level: 12. Usage Guideline This command can be used in the global configuration mode and interface configuration mode. If the command is configured in the global configuration mode, the maximum user number limits the user number of the entire system.
  • Page 433 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide roaming from port 1 to port 2, and inherit the authorization attributes without re-authentication. If the new port has the different authentication configuration as the original port, then re-authentication is needed. The authenticated host on port 1 can move and re-authenticated by port 2. If the new port has no authentication method enabled, then the station is directly moved to the new port.
  • Page 434 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide show authentication sessions [mac | wac | jwac | dot1x | interface INTERFACE-ID [, | -] [mac | wac | jwac | dot1x] | mac-address MAC-ADDRESS] Parameters (Optional) Specifies to display all MAC sessions.
  • Page 435 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide MAC Address The MAC address of authentication host. The original VLAN of the host start authentication. Authentication VLAN Authentication State The authentication status of host. Start: Host received, but no any authentication start.
  • Page 436 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide successfully authenticated the supplicant. ABORTING: Indicates that the authentication procedure is being prematurely aborted due to the receipt of a re-authentication request, an EAPOL-Start frame, an EAPOL-Logoff frame, or an authentication timeout.
  • Page 437: Network Time Protocol (Ntp) Commands

    DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 51. Network Time Protocol (NTP) Commands 51-1 ntp access-group This command is used to control the NTP services on the Switch. Use the no form of this command to remove the access control to the NTP services.
  • Page 438 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide The NTP implements a general purpose Access Control List (ACL) containing address/match entries sorted first by increasing address values and then by increasing mask values. A match occurs when the bitwise AND of the mask and the packet source address is equal to the bitwise AND of the mask and address in the list.
  • Page 439 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide no ntp authentication-key KEY-ID Parameters KEY-ID Specifies the NTP key ID. The value is from 1 to 255. Specifies the authentication key type to MD5. VALUE Specifies the key string. This string must be 32 characters long.
  • Page 440 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch#configure terminal Switch(config)#ntp control-key 45 Switch(config)# 51-5 ntp disable This command is used to prevent an interface from receiving NTP packets. Use the no form of this command to receive NTP packets on an interface.
  • Page 441 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Global Configuration Mode. Command Default Level Level: 12. Usage Guideline This command is used to configure RTC as an NTP master clock when an external NTP is not available. Use the no form of this command to disable this feature.
  • Page 442 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide ntp peer {IP-ADDRESS | IPv6-ADDRESS} [version NUMBER] [key KEY-ID] [prefer] [min-poll INTERVAL] [max-poll INTERVAL] no ntp peer {IP-ADDRESS | IPv6-ADDRESS} Parameters IP-ADDRESS Specifies the IPv4 address of the peer. IPv6-ADDRESS Specifies the IPv6 address of the peer.
  • Page 443 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide no ntp request-key Parameters KEY-ID Specifies the NTP key ID. The value is from 1 to 255. Default By default, this option is disabled. Command Mode Global Configuration Mode. Command Default Level Level: 12.
  • Page 444 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide interval value specified. For example, if the value specified here is 6, the maximum poll interval that will be used is 64 seconds (2 =64). INTERVAL (Optional) Specifies to enter the maximum poll interval value. The default value is 10.
  • Page 445 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch#configure terminal Switch(config)#ntp trusted-key 45 Switch(config)# 51-12 ntp update-calendar This command is used to periodically update the hardware clock from an NTP source. Use the no form of this command to disable this feature.
  • Page 446 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Level: 12. Usage Guideline This command is used to enable NTP. Use the no form of this command to disable this feature. Example This example shows how to enable NTP. Switch#configure terminal...
  • Page 447 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide ^: - Broadcast mode. ~: - Broadcast client . *: - System Peer. Remote The IP address of the peer. Local The IP address of the local interface. Stratum of the peer.
  • Page 448 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Leap Leap indicator. The value is from 0 to 3. The IP address of the machine peer is synchronized to. RefID RootDistance The total roundtrip delay to the primary reference clock.
  • Page 449 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Not applicable. Command Mode EXEC Mode or Any Configuration Mode. Command Default Level Level: 1. Usage Guideline This command is used to display the NTP status. Example This example shows how to display NTP status.
  • Page 450 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Auth Delay Authentication Delay.
  • Page 451: Port Security Commands

    DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 52. Port Security Commands 52-1 clear port-security This command is used to delete the auto-learned secured MAC addresses. clear port-security {all | {address MAC-ADDR | interface INTERFACE-ID [, | -]} [vlan VLAN-ID]} Parameters Specifies to delete all auto-learned secured entries.
  • Page 452 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide after the comma. (Optional) Specifies a range of interfaces. No space is allowed before and after the hyphen. Specifies to display all the secure MAC addresses, including both address configured and learned entries.
  • Page 453 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Usage Guideline Use this command to enable or disable SNMP notifications for port security address violation, and configure the number of traps per second. Example This example shows how to enable sending trap for port security address violation and set the number of traps per second to 3.
  • Page 454 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Interface Configuration Mode. Command Default Level Level: 12. Usage Guideline When port security is enabled, if the port mode is configured as delete-on-timeout, the port will automatically learn the dynamic secured entry which will be timed out. These entries will be aged out based on the setting specified by the switchport port-security aging command.
  • Page 455 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide This example shows how to configure the Switch to drop all packets from the insecure hosts at the port-security process level and increment the security violation counter if a security violation is detected.
  • Page 456 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# configure terminal Switch(config)# interface eth1/0/1 Switch(config-if)# switchport port-security aging type inactivity Switch(config-if)# 52-6 port-security limit This command is used to configure the maximum secure MAC address number on the system. Use the no form of this command to revert to the default setting.
  • Page 457: Power Over Ethernet (Poe) Commands

    DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 53. Power over Ethernet (PoE) Commands 53-1 poe pd description This command is used to configure the description for the PD connected to the PoE port. Use the no form of this command to clear the description.
  • Page 458 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Level: 12. Usage Guideline Use this command to enable the support of legacy PDs connected to the port. If legacy support is disabled, the system will not provide power to the legacy PDs.
  • Page 459 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 53-4 poe policy preempt This command is used to enable disconnection of PD which is power-provisioned with lower priority in order to release the power to the new connected PD with higher priority under power shortage conditions.
  • Page 460 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide to the PD. max MAX-WATTAGE (Optional) Specifies to set the maximum wattage of power that can be provisioned to the auto-detected PD. If not specified, then the class of the PD automatically determines the maximum wattage which can be provisioned.
  • Page 461 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# configure terminal Switch(config)# interface eth3/0/1 Switch(config-if)# poe power-inline auto time-range day-time Switch(config-if)# 53-6 poe usage-threshold This command is used to configure the utilization threshold to record a log. Use the no form of this command to restore to the default setting.
  • Page 462 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide only available, if stacking is enabled. Default By default, this option is disabled. Command Mode Global Configuration Mode. Command Default Level Level: 12. Usage Guideline Use this command to enable sending PoE usage threshold exceeding traps.
  • Page 463 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# clear poe statistic interface eth3/0/1 Switch# 53-9 show poe power-inline This command is used to display the Power over Ethernet (PoE) status for the specified PoE port, or for all PoE ports in the switch system.
  • Page 464 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# show poe power-inline status Interface State Class Max(W) Used(W) Description ----------------------------------------------------------------------------- eth3/0/1 delivering class-1 4 IP-camera-1 eth3/0/2 delivering class-2 10 12345678901234567890123456789012 !--- Output suppressed... eth4/0/1 delivering class-3 15.4 13.0 eth4/0/2 delivering class-3 15.4...
  • Page 465 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# show poe power-inline configuration Interface Admin Priority Legacy-Support Time-Range -------------------------------------------------------------------------------- eth3/0/1 auto critical enabled 12345678901234567890123456789012 eth3/0/2 auto(M) critical disabled rdtime !--- Output suppressed... eth4/0/2 auto critical disabled eth4/0/3 never high disabled !--- Output suppressed...
  • Page 466 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide PSE cannot monitor the valid MPS of PD on the PI. Overload If the PD is drawing too much power to exceed the maximum output power that the port can supply, then the overload counter is increased.
  • Page 467 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# show poe power-inline lldp-classification Interface eth1/0/1 PSE TX information: Power type; type 2 PSE Power source: primary power source Power priority: low PD requested power value: 25.0W PSE allocated power value: 25.0W...
  • Page 468 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Power source The power source field which is in the Power via MDI TLV from PSE or PD LLDP packet. Power priority The power priority field which is in the Power via MDI TLV from PSE or PD LLDP packet.
  • Page 469 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Policy Preempt Enabled: The power management mode is policy preempt, high priority PD can preempt the provided power of lower priority PD. Disableda: The power management mode is first in first serviced.
  • Page 470: Power Saving Commands

    DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 54. Power Saving Commands 54-1 dim led This command is used to disable the port LED function. Use the no form of this command to restore the LED function. dim led...
  • Page 471 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Default By default, all the options are disabled. Command Mode Global Configuration Mode. Command Default Level Level: 12. Usage Guideline The user can enable or disable link detection, dimming LEDs, port shutdown, and hibernation using this command.
  • Page 472 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Example This example shows how to enable the EEE power saving function. Switch# configure terminal Switch(config)# interface eth1/0/1 Switch(config-if)# power-saving eee Switch(config-if)# 54-4 power-saving dim-led time-range This command is used to configure the time range profile for the dim LED schedule. Use the no form of this command to delete the specified time range profile.
  • Page 473 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide maximum length is 32 characters. Default None. Command Mode Global Configuration Mode. Command Default Level Level: 12. Usage Guideline Use this command to add or delete a time range profile for the system hibernation schedule. When the system enters the hibernation mode, the Switch will go into a low power state and idle.
  • Page 474 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# configure terminal Switch(config)# interface eth1/0/1 Switch(config-if)# power-saving shutdown time-range off-duty Switch(config-if)# 54-7 show power-saving This command is used to display the power saving configuration information. show power-saving [link-detection] [dim-led] [port-shutdown] [hibernation] [eee]...
  • Page 475 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide...
  • Page 476: Protocol Independent Commands

    DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 55. Protocol Independent Commands 55-1 ip route This command is used to create a static route entry. Use the no form of this command to remove a static route entry. ip route NETWORK-PREFIX NETWORK-MASK IP-ADDRESS [primary | backup]...
  • Page 477 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Parameters Specifies to add or delete a default route. default NETWORK-PREFIX/PREFIX- Specifies the network prefix and the prefix length of the static route. LENGTH INTERFACE-ID (Optional) Specifies the forwarding interface for routing the packet.
  • Page 478 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Default None. Command Mode EXEC Mode or Any Configuration Mode. Command Default Level Level: 1. Usage Guideline Use this command to display the best routes that are currently at work. Example This example shows how to display the routing table.
  • Page 479 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch#show ip route summary Route Source Networks Connected Static Total Switch# 55-5 show ipv6 route This command is used to display the entry in routing table. show ipv6 route {[IPV6-ADDRESS | NETWORK-PREFIX/PREFIX-LENGTH [longer-prefixes] |...
  • Page 480 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# show ipv6 route IPv6 Routing Table Code: C - connected, S - static 2000:410:1::/64 [0/1] is directly connected, vlan1 2001:0101::/64 [1/1] via fe80::0000:00ff:1111:2233, vlan1 2001:0102::/64 [1/1] via fe80::0000:00ff:1111:2233, vlan1 Total Entries: 3 entries, 3 routes Switch# This example shows how to display the static routing entries for IPv6.
  • Page 481 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# show ipv6 route summary Route Source Networks Connected Static Total Switch#...
  • Page 482: Quality Of Service (Qos) Commands

    DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 56. Quality of Service (QoS) Commands 56-1 class This command is used to specify the name of the class map to be associated with a traffic policy and then enter into policy map class configuration mode. Use the no form of this command to remove the policy definition for the specified class.
  • Page 483 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Parameters NAME Specifies the name of the class map with a maximum of 32 characters. match-all (Optional) Specifies how to evaluate multiple match criteria. Multiple match statements in the class map will be evaluated based on the logical AND.
  • Page 484 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide cos COS-LIST Specifies a specific IEEE 802.1Q CoS value(s) to be matched. The COS-LIST parameter values are from 0 to 7. Enter one or more CoS values separated by commas or hyphen for a range list.
  • Page 485 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# configure terminal Switch(config)# class-map class-home-user Switch(config-cmap)# match access-group name acl-home-user Switch(config-cmap)# This example shows how to specify a class map called “cos” and specifies that the CoS values of 1, 2, and 3 are match criteria for the class.
  • Page 486 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide names must start with an alphabetic character (not a digit) and must be unique across all aggregate policers. KBPS Specifies the average rate, in kilobits per second. (Optional) Specifies the normal burst size in kilobytes.
  • Page 487 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# configure terminal Switch(config)# mls qos aggregate-policer agg-policer5 10 1000 exceed-action drop Switch(config)# policy-map policy2 Switch(config-pmap)# class class1 Switch(config-pmap-c)# police aggregate agg_policer5 Switch(config-pmap-c)# exit Switch(config-pmap)# class class2 Switch(config-pmap-c)# police aggregate agg_policer5...
  • Page 488 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 56-6 mls qos dscp-mutation This command is used to attach an ingress Differentiated Services Code Point (DSCP) mutation map to the interface. Use the no form of this command to remove the ingress DSCP mutation map association from the interface.
  • Page 489 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Command Mode Interface Configuration Mode. Command Default Level Level: 12. Usage Guideline When packets enter the ingress port, they will be colored based on either the DSCP to color map (if the port is a trusted DSCP port) or the CoS to color map (if the port is a trusted CoS port).
  • Page 490 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# configure terminal Switch(config)# interface eth3/0/1 Switch(config-if)# mls qos map dscp-color 61-63 to yellow Switch(config-if)# 56-9 mls qos map dscp-cos This command is used to define a Differentiated Services Code Point (DSCP)-to-class of service (CoS) map.
  • Page 491 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Parameters MAP-NAME Specifies the name of the DSCP mutation map in a string length up to 32 characters (no space is allowed) INPUT-DSCP-LIST Specifies the list of DSCP code point to be mutated to another DSCP value.
  • Page 492 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide wdrr Specifies the queues of all ports in the frame length (quantum) weighted deficit round-robin scheduling. If the weight of a queue be configured to zero, the queue is in the SP scheduling mode.
  • Page 493 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide dscp Specifies that the ToS/DSCP bits, if available in the arriving packets, are trusted for subsequent operations. For non-IP packet, Layer 2 CoS information will be trusted for traffic classification. Default By default, CoS is trusted.
  • Page 494 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide BURST-MAX (Optional) Specifies the maximum burst size, in kilobytes. (optional) Specifies the action to take on green color packets. If the conform-action action is not specified, the default action is to transmit.
  • Page 495 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide As a packet arrives at a port, the packet will be initialized with a color. If the receive port trusts DSCP then the initial color of the packet is mapped from the incoming DSCP based on the DSCP to color map.
  • Page 496 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Level: 12. Usage Guideline Use the mls qos aggregate-policer command in the global configuration mode to create a named aggregate policer. Then use the police aggregate command in the policy-map class configuration mode to configure the named aggregate policer as the policy for a traffic class.
  • Page 497 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide action is drop. violate-action (Optional) Specifies the action to take for those packets that did not conform to both CIR and PIR. These packets are referred to as red color traffic. If the violate-action is not specified, the default action is equal to the exceed-action.
  • Page 498 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# configure terminal Switch(config)# class-map police Switch(config-cmap)# match access-group name myAcl101 Switch(config-cmap)# policy-map policy1 Switch(config-pmap)# class police Switch(config-pmap-c)# police cir 500 bc 10 pir 1000 be 10 exceed-action set-dscp- transmit 2 violate-action drop...
  • Page 499 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# configure terminal Switch(config)# class-map class1 Switch(config-cmap)# match access-group name acl_rd Switch(config-cmap)# exit Switch(config)# policy-map policy Switch(config-pmap)# class class1 Switch(config-pmap-c)# set ip dscp 46 Switch(config-pmap-c)# exit Switch(config-pmap)# class class-default Switch(config-pmap-c)# set ip dscp 00...
  • Page 500 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide queue QUEUE-ID rate-limit {MIN-BANDWIDTH-KBPS | percent MIN-PERCENTAGE} {MAX- BANDWIDTH-KBPS | percent MAX-PERCENTAGE} no queue QUEUE-ID rate-limit Parameters QUEUE-ID Specifies the queue ID to set minimal guaranteed and maximum bandwidth. MIN-BANDWIDTH-KBPS Specifies the minimal guaranteed bandwidth in kilobits per second allocated to a specified queue.
  • Page 501 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide rate-limit {input | output} {NUMBER-KBPS | percent PERCENTAGE} [BURST-SIZE] no rate-limit {input | output} Parameters Specifies the bandwidth limit for ingress packets. input output Specifies the bandwidth limit for egress packets.
  • Page 502 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Command Mode Interface Configuration Mode. Command Default Level Level: 12. Usage Guideline Use the service-policy command to attach at most one policy map for input type on an interface. This policy is attached to the interface for aggregate and controls the number or rate of packets. A packet arriving at a port will be treated based on the service policy attached to the interface.
  • Page 503 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# configure terminal Switch(config)# policy-map cust2-classes Switch(config-pmap)# class gold Switch(config-pmap-c)# police 1600 2000 exceed-action set-dscp-transmit 0 Switch(config-pmap-c)# exit Switch(config-pmap)# class silver Switch(config-pmap-c)# police 4000 2000 exceed-action set-dscp-transmit 0 Switch(config-pmap-c)# exit Switch(config-pmap)# class bronze...
  • Page 504 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide The set dscp command will not affect the CoS queue selection. The set cos-queue command will not alter the CoS field of the outgoing packet. The user can use the police command and the set command for the same class.
  • Page 505 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 56-23 show mls qos aggregate-policer This command is used to display the configured aggregated policer. show mls qos aggregate-policer [NAME] Parameters NAME (Optional) Specifies the name of the aggregate policer. Default None.
  • Page 506 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide rate-limit Specifies to displays the bandwidth limitation configured for the port. Specifies to displays the bandwidth allocation configured for the queue-rate-limit queue. dscp-mutation Specifies to displays the DSCP mutation map attached to the interface.
  • Page 507 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# show mls qos interface eth1/0/1-1/0/2 scheduler Interface Scheduler Method ---------- ------------------ eth1/0/1 eth1/0/2 Switch# This example shows how to display the DSCP mutation maps attached to eth 1/0/1 to 1/0/2.
  • Page 508 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# show mls qos interface eth1/0/1-2 queue-rate-limit eth1/0/1 Min Bandwidth Max Bandwidth ---- -------------- ------------- 16 kbps 10%(100000 kbps) 32 kbps 64 kbps 64 kbps 32 kbps 128 kbps eth1/0/2 Min Bandwidth...
  • Page 509 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# show mls qos interface eth1/0/1 map dscp-cos eth1/0/1 -------------------------------- 00 00 00 00 00 00 00 00 01 01 01 01 01 01 01 01 02 02 02 02 02 02 02 02 03 03 03 03 03 01...
  • Page 510 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch#show mls qos map dscp-mutation DSCP Mutation: mutemap1 Attaching interface: 1/0/3 --------------------------------- 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19...
  • Page 511 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# show mls qos queueing CoS-queue map: Switch# This example shows how to display the weight configuration for the different scheduler on interface eth1/0/3. Switch# show mls qos queueing interface eth1/0/3...
  • Page 512 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide INTERFACE-ID (Optional) Specifies the module and port number. (Optional) Specifies the name of the policy map. If not specified, all POLICY-NAME policy maps will be displayed. Default None. Command Mode EXEC Mode or Any Configuration Mode.
  • Page 513 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 56-28 wdrr-queue bandwidth This command is used to set the queue quantum in the WDRR scheduling mode. Use the no form of this command to revert to the default setting. wdrr-queue bandwidth QUANTUM1…QUANTUM127...
  • Page 514 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Interface Configuration Mode. Command Default Level Level: 12. Usage Guideline The configuration of this command takes effect when the scheduling mode is in the WRR mode. Use the mls qos scheduler wrr command to change the scheduling mode to WRR mode. To satisfy the behavior requirements of Expedited Forwarding (EF), the highest queue is always selected by the Per-hop Behavior (PHB) EF and the schedule mode of this queue should be strict priority scheduling.
  • Page 515: Remote Network Monitoring (Rmon) Commands

    DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 57. Remote Network MONitoring (RMON) Commands 57-1 rmon collection stats This command is used to enable RMON statistics on the configured interface. Use the no form of this command to disable the RMON statistics.
  • Page 516 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide owner NAME Specifies the owner string. The maximum length is 127. Specifies the number of buckets specified for the RMON collection buckets NUM history group of statistics. If not specified, the default is 50. The range is from 1 to 65535.
  • Page 517 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide ringing threshold. falling-threshold VALUE Specifies the falling threshold. The valid range is from 0 to 2147483647. (Optional) Specifies the index of the event entry that is used to FALLING-EVENT-NUMBER notify the falling threshold crossing event. The valid range is from 1 to 65535.
  • Page 518 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Command Default Level Level: 12. Usage Guideline If the log and not the trap is specified, the created entry will cause a log entry to be generated on an event occurrence. If the trap and not the log is specified, the created entry will cause an SNMP notification to be generated on an event occurrence.
  • Page 519 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 57-6 show rmon events This command is used to display the RMON event table. show rmon events Parameters None. Default None. Command Mode EXEC Mode or Any Configuration Mode. Command Default Level Level: 1.
  • Page 520 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Usage Guideline This command displays the history of the statistics for all of the configured entries. Example This example shows how to display RMON Ethernet history statistics. Switch# show rmon history...
  • Page 521 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# show rmon statistics Index 32, owned by it@domain.com, Data Source is eth4/0/3 Received Octets : 234000, Received packets : 9706 Broadcast packets: 2266, Multicast packets: 192 Undersized packets: 213, Oversized...
  • Page 522: Router Advertisement (Ra) Guard Commands

    DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 58. Router Advertisement (RA) Guard Commands 58-1 ipv6 nd raguard policy This command is used to create an RA guard policy. The command will enter into the RA guard policy configuration mode. Use the no form of this command to remove an RA guard policy.
  • Page 523 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide RA Guard Policy Configuration Mode. Command Default Level Level: 12. Usage Guideline This command is used to set the role of the attached device. By default, the device role is host, and therefore all the inbound router advertisement and redirect messages are blocked.
  • Page 524 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 58-4 ipv6 nd raguard attach-policy This command is used to apply an RA guard policy on a specified interface. Use the no form of this command to remove the binding. ipv6 nd raguard attach-policy [POLICY-NAME]...
  • Page 525 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Usage Guideline If the policy name is specified, only the specified policy information is displayed. If the policy name is not specified, information is displayed for all policies. Example This example shows how to display the policy configuration for a policy named “raguard1” and all the interfaces where the policy is applied.
  • Page 526: Safeguard Engine Commands

    DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 59. Safeguard Engine Commands 59-1 clear cpu-protect counters This command is used to clear the CPU protect related counters. clear cpu-protect counters {all | sub-interface [manage | protocol | route] | type...
  • Page 527 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide FALLING-THRESHOLD Specifies to set a percentage value of the falling CPU utilization which will trigger the Safeguard Engine function to cease. Once the CPU utilization falls to the specified percentage, the Safeguard Engine mechanism will shut down.
  • Page 528 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide The reasons of packets that are destined to the CPU can be classified into three groups: manage, protocol and route. The sub-interface is a logical interface, which handles the CPU received packets by different groups.
  • Page 529 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 8021x Port-based Network Access Control Protocol IP Address Resolution Protocol (ARP) Protocol dhcp Dynamic Host Configuration Protocol Domain Name Services Protocol gvrp GARP VLAN Registration Protocol Protocol icmp IPv4 Internet Control Message Protocol...
  • Page 530 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide This example shows how to display the settings and current status of the Safeguard Engine. Switch#show cpu-protect safeguard Safeguard Engine State: Disabled Safeguard Engine Status: Normal Utilization Thresholds: Rising :30% Falling...
  • Page 531 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# show cpu-protect sub-interface manage Sub-Interface: manage Rate Limit : 1000 pps Unit Total Drop -------------- --------- --------- Switch# 59-7 show cpu-protect type This command is used to display the rate limit and statistics of CPU protection.
  • Page 532 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 59-8 snmp-server enable traps safeguard-engine This command is used to enable sending SNMP notifications for Safeguard Engine. Use the no form of this command to disable sending SNMP notifications for Safeguard Engine.
  • Page 533: Secure Shell (Ssh) Commands

    DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 60. Secure Shell (SSH) Commands 60-1 crypto key generate This command is used to generate the RSA or DSA key pair. crypto key generate {rsa [modulus MODULUS-SIZE] | dsa} Parameters Specifies to generate the RSA key pair.
  • Page 534 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Specifies to delete the DSA key pair. Default None. Command Mode Privileged EXEC Mode. Command Default Level Level: 15. Usage Guideline This command deletes the public key pair of the SSH Server. If both RSA and DSA key pairs are deleted, the SSH server will not be in service.
  • Page 535 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide This example shows how to configure the SSH timeout value to 160 seconds. Switch# configure terminal Switch(config)# ip ssh timeout 160 Switch(config)# This example shows how to configure the SSH authentication retries value to 2 times. The connection fails after 2 retry attempt fails.
  • Page 536 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide TCP-PORT Specifies the TCP port number. TCP ports are numbered between 1 and 65535. The “well-known” TCP port for the SSH protocol is 22. Default By default, this value is 22.
  • Page 537 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# show crypto key mypubkey rsa % Key pair was generated at: 09:48:40, 2013-11-29 Key Size: 768 bits Key Data: AAAAB3Nz aC1yc2EA AAADAQAB AAAAQwCN 6IRFHCBf jsHvYjQG iCL0p2kz 2v38ULC8 kAKra/Ze mG7IW3eC 8STcrkr5 s7l9H/bh jG/oqkwj SlUJSGqR e/sj6Ws=...
  • Page 538 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Default None. Command Mode EXEC Mode or Any Configuration Mode. Command Default Level Level: 1. Usage Guideline Use this command to display the SSH connections’ status on the Switch. Example This example shows how to display SSH connections’ information.
  • Page 539 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide account. Enter the URL of a local file to be used as the public key of this user. hostbased URL Specifies to use the host-based authentication method for this user account. Enter the URL of a local file to be used as client’s host key.
  • Page 540: Secure Sockets Layer (Ssl) Commands

    DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 61. Secure Sockets Layer (SSL) Commands 61-1 no certificate This command is used to delete the imported certificate. no certificate NAME Parameters Specifies the name of the certificate to be deleted.
  • Page 541 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Parameters TRUSTPOINT Specifies the name of the trust-point that is associated with the imported certificates and key pairs. FILE-SYSTEM Specifies the file system for certificates and key pairs. A colon (:) is required after the specified file system.
  • Page 542 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# crypto pki import TP1 pem tftp://10.1.1.2/name/msca password abcd1234 both % Importing CA certificate... Destination filename [name/msca.ca]? Reading file from tftp://10.1.1.2/name/msca.ca Loading name/msca.ca from 10.1.1.2 (via eth1/0/5):! [OK - 1082 bytes] % Importing private key PEM file...
  • Page 543 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 61-4 crypto pki certificate chain This command is used to enter into the certificate chain configuration mode. crypto pki certificate chain NAME Parameters NAME Specifies the name for the trust-point. Default None.
  • Page 544 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide This example shows how to configure the trust-point “TP1” as the primary trust-point. Switch# configure terminal Switch(config)# crypto pki trustpoint TP1 Switch(ca-trustpoint)# primary Switch(ca-trustpoint)# 61-6 show crypto pki trustpoints This command is used to display the trust-points that are configured in the Switch.
  • Page 545 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Parameters POLICY-NAME (Optional) Specifies the name of the SSL service policy. Default None. Command Mode Privileged EXEC Mode or Any Configuration Mode. Command Default Level Level: 12. Usage Guideline When the name of the SSL service policy is not specified, all SSL service policies will be displayed.
  • Page 546 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide dhe-dss-3des-ede-cbc-sha - Use DH key exchange with 3DES- EDE-CBC encryption and SHA for message digest. rsa-3des-ede-cbc-sha - Use RSA key exchange with 3DES and DES-EDE3-CBC for message encryption and the Secure Hash Algorithm (SHA) for message digest.
  • Page 547: Sflow Commands

    DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 62. sFlow Commands 62-1 sflow receiver This command is used to configure a receiver for the sFlow agent. Receivers cannot be added to or removed from the sFlow agent. Use the no form of this command to reset one receiver to the default settings.
  • Page 548 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide This example shows how to configure the receiver of index 1 with the owner name of collector1, a timeout value of 86400 seconds, size as 1400 bytes, remote sFlow collector’s IP address as 10.1.1.2, and port number of 6343.
  • Page 549 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide The sampling rate in operation may be automatically adjusted to a lower rate when the system is overloading. Example This example shows how to create the sampler of instance 1 with the receiver as 1, inbound, rate as 1024 and size as 128 bytes.
  • Page 550 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# configure terminal Switch(config)# interface ethernet 1 Switch(config-if)# sflow poller 1 receiver 1 interval 20 Switch(config-if)# 62-4 show sflow This command is used to display sFlow information. show sflow [agent | receiver | sampler | poller]...
  • Page 551 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch#show sflow sFlow Agent Version : 1.3;D-Link Corporation Inc.;1.00 sFlow Agent Address : 10.90.90.90 sFlow Agent IPv6 Address Receivers Information Index Owner Expire Time Current Countdown Time Max Datagram Size : 1400 Address : 0.0.0.0...
  • Page 552 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# show sflow agent sFlow Agent Version : 1.3;D-Link Corporation Inc.;1.00 sFlow Agent Address : 10.90.90.90 sFlow Agent IPv6 Address : FE80::201:2FF:FE03:400 Switch# Display Parameters sFlow Agent Version Indicates the MIB version, organization and software revision.
  • Page 553: Simple Network Management Protocol (Snmp) Commands

    DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 63. Simple Network Management Protocol (SNMP) Commands 63-1 show snmp trap link-status This command is used to display the per interface link status trap state. show snmp trap link-status [interface INTERFACE-ID [, | -]]...
  • Page 554 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide traps (Optional) Specifies to display trap related settings. Default None. Command Mode EXEC Mode or Any Configuration Mode. Command Default Level Level: 1. Usage Guideline Use the show snmp-server command to display the SNMP server global state settings.
  • Page 555 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide None. Command Mode EXEC Mode or Any Configuration Mode. Command Default Level Level: 1. Usage Guideline Use this command to display the per port trap sending state. Example This example shows how to display the trap sending state for ports eth1/0/1 to eth1/0/9.
  • Page 556 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide This example shows how to enable the SNMP server. Switch# configure terminal Switch(config)# snmp-server Switch(config)# 63-5 snmp-server contact This command is used to configure the system contact information for the device. Use the no form of this command to remove the setting.
  • Page 557 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Command Mode Global Configuration Mode. Command Default Level Level: 12. Usage Guideline This command enables the device to send the SNMP notification traps globally. To configure the router to send these SNMP notifications, enter the snmp-server enable traps command to enable the global setting.
  • Page 558 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Usage Guideline This command controls the sending of SNMP standard notification traps. To enable the sending of notification traps, the global setting must be enabled too. Example This example shows how to enable the switch to send all SNMP traps to the host 10.9.18.100 using the community string defined as public.
  • Page 559 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 63-9 snmp-server name This command is used to configure the system’s name information. Use the no form of this command to remove the setting. snmp-server name NAME no snmp-server name Parameters...
  • Page 560 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Usage Guideline Use this command to disable the port to send SNMP notification traps out of the configured port. If the sending is disabled, then SNMP notification traps generated by the system are not allowed to transmit out of the port.
  • Page 561 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide no snmp-server response broadcast-request Parameters None. Default By default, this option is disabled. Command Mode Global Configuration Mode. Command Default Level Level: 12. Usage Guideline This command is used to enable or disable the server to response to broadcast SNMP GetRequest packet.
  • Page 562 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# configure terminal Switch(config)# interface eth1/0/1 Switch(config-if)# no snmp trap link-status Switch(config-if)# 63-14 show snmp This command is used to display the SNMP settings. show snmp {community | host | view | group | engineID}...
  • Page 563 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# show snmp host Host IP Address : 10.20.30.40 SNMP Version : V1 Community Name : public UDP Port : 50001 Host IP Address : 10.10.10.1 SNMP Version : V3 noauthnopriv...
  • Page 564 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# show snmp group GroupName: public SecurityModel: v1 ReadView : CommunityView WriteView NotifyView : CommunityView IP access control list: GroupName: public SecurityModel: v2c ReadView : CommunityView WriteView NotifyView : CommunityView IP access control list:...
  • Page 565 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Command Default Level Level: 1. Usage Guideline When the username argument is not specified, all configured users will be displayed. The community string created will not displayed by this command. Example This example shows how SNMP users are displayed.
  • Page 566 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Community View Name Access right private CommunityView Read/Write public CommunityView Read Only Command Mode Global Configuration Mode. Command Default Level Level: 15. Usage Guideline This command provides an easy way to create a community string for SNMPv1 and SNMPv2c management.
  • Page 567 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# configure terminal Switch(config)# snmp-server engineID local 332200000000000000000000 Switch(config)# 63-18 snmp-server group This command is used to configure an SNMP group. Use the no form of this command to remove a SNMP group or remove a group from using a specific security model.
  • Page 568 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide An SNMP group defines a user group by specifying the allowed security model, the read-view, the write-view, and the notification view. The security model defines that the group user is allowed to use...
  • Page 569 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide port numbers may conflict with other protocols. Default By default, the version used is 1. Command Mode Global Configuration Mode. Command Default Level Level: 15. Usage Guideline SNMP notifications are sent as trap packets. The user should create at least one recipient of a SNMP notification by using the snmp-server host command in order for the Switch to send the SNMP notifications.
  • Page 570 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide snmp-server source-interface traps INTERFACE-ID no snmp-server source-interface traps Parameters Specifies the interface whose IP address will be used as the source INTERFACE-ID address for sending the SNMP trap packet. Default The IP address of the closest interface will be used.
  • Page 571 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide password is 8 to 16 octets for MD5 and 8 to 20 octets for SHA. If the keyword encrypted is specified, the length is 32 for MD5 and 40 for SHA. The format is a hexadecimal value.
  • Page 572 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide OID-TREE Specifies the object identifier of the ASN.1 sub-tree to be included or excluded from the view. To identify the sub-tree, specify a text string consisting of numbers, such as 1.3.6.2.4, or a word, such as system.
  • Page 573: Single Ip Management (Sim) Commands

    DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 64. Single IP Management (SIM) Commands 64-1 sim This command is used to enable single IP management. The no form of this command disables single IP management. no sim Parameters None.
  • Page 574 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Global Configuration Mode. Command Default Level Level: 12. Usage Guideline There are 3 roles in the single IP management system: Candidate, Commander and Member. The roles of Candidate and Commander can be specified by the user. The Member role can be specified by the command sim group-member on the commander switch.
  • Page 575 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 64-4 sim holdtime This command is used to configure the hold-time duration in seconds. One switch (ether the Commander or Member switch) will clear the information of the other switch, after not receiving single IP management messages in the duration time.
  • Page 576 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Command Default Level Level: 12. Usage Guideline This command is used to configure the SIM interval in seconds for single IP management protocol sending messages. Example This example shows how to configure the interval for the single IP management protocol.
  • Page 577 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Parameters MEMBER-ID Specifies the member that login. exit Specifies to exit from the current configuring member. Default None. Command Mode Privileged EXEC Mode. Command Default Level Level: 12. Usage Guideline The SIM Commander switch can login to its group members and configure them by the member ID.
  • Page 578 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Level: 12. Usage Guideline This command can be used on Commander Switch to upload files to the server from member switches. In order to distinguish the different member switch’s ID, the file name will be appended to the member switch’s ID.
  • Page 579 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide This example shows how to enable sending single IP management trap. Switch# configure terminal Switch(config)# snmp-server enable traps sim Switch(config)# 64-10 show sim This command is used to display single IP management information.
  • Page 580 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# show sim SIM Version : VER-1.61 Firmware Version : 1.30.003 Device Name :Switch MAC Address : 3C-1E-04-A1-CC-00 Platform : DGS-1510-28XMP SIM State : Enabled Role State : Member Discovery Interval : 30 sec...
  • Page 581 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# show sim candidates Candidate Hold Firmware MAC Address Platform Time Version Device Name -------------------------------------------------------------------------- EE-FF-00-00-12-12 DGS-1510-28P 90 1.30.003 Switch Total Entries : 1 Switch# This example shows how to display one of the SIM candidate’s information in detail.
  • Page 582 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# show sim group 00-01-02-03-04-00 Sim Group Information : [*** Commander Info ***] Group Name : default MAC Address : 00-01-02-03-04-00 Device Name Firmware Version : 1.30.003 Platform : DGS-1510-28P Number of Members...
  • Page 583: Spanning Tree Protocol (Stp) Commands

    DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 65. Spanning Tree Protocol (STP) Commands 65-1 clear spanning-tree detected-protocols This command is used to restart the protocol migration. clear spanning-tree detected-protocols {all | interface INTERFACE-ID} Parameters Specifies to trigger the detection action for all ports.
  • Page 584 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Default None. Command Mode EXEC Mode or Any Configuration Mode. Command Default Level Level: 1. Usage Guideline Use this command to display the Spanning Tree configuration for the single spanning tree when in the RSTP or STP-compatible mode.
  • Page 585 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Command Mode EXEC Mode or Any Configuration Mode. Command Default Level Level: 1. Usage Guideline Use this command to display Spanning Tree interface level configuration. The command can be used for all STP versions.
  • Page 586 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide This example shows how to enable the router to send all STP traps to the host 10.9.18.100 using the community string defined as public. Switch# configure terminal Switch(config)# snmp-server enable traps Switch(config)# snmp-server enable traps stp Switch(config)# snmp-server host 10.9.18.100 version 2c public...
  • Page 587 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide from 1 to 2 seconds. forward-time SECONDS Specifies the forward delay time used by STP to transition from the listening to the learning states and learning to forwarding states. The range is from 4 to 30 seconds.
  • Page 588 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide When a port is spanning tree enabled, the spanning tree protocol engine will either send or process the spanning tree BPDU received by the port. The command should be used with caution to prevent bridging loops.
  • Page 589 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Parameters None. Default By default, this option is disabled. Command Mode Interface Configuration Mode. Command Default Level Level: 12. Usage Guideline BPDU guard prevents a port from becoming a root port. This feature is useful for the service provider to prevent external bridges to a core region of the network influencing the spanning tree active topology, possibly because those bridges are not under the full control of the administrator.
  • Page 590 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Usage Guideline A full-duplex port is considered to have a point-to-point connection; on the opposite, a half-duplex port is considered to have a shared connection .The port can’t transit into forwarding state rapidly by setting link type to shared-media.
  • Page 591 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 65-12 spanning-tree portfast This command is used to specify the port’s fast mode. Use the no form of this command to revert to the default setting. spanning-tree portfast {disable | edge| network}...
  • Page 592 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide PRIORITY Specifies the port priority. Valid values are from 0 to 240. Default By default, this value is 128. Command Mode Interface Configuration Mode. Command Default Level Level: 12. Usage Guideline The port priority and the port number together form the Port Identifier.
  • Page 593 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# configure terminal Switch(config)# spanning-tree priority 4096 Switch(config)# 65-15 spanning-tree tcnfilter This command is used to enable Topology Change Notification (TCN) filtering at the specific interface. Use the no form of this command to disable TCN filtering.
  • Page 594 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Default By default, this value is 6. Command Mode Global Configuration Mode. Command Default Level Level: 12. Usage Guideline This command specifies the number of hold BPDUs to transmit. The transmission of BPDUs on a port is controlled by a counter.
  • Page 595: Stacking Commands

    DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 66. Stacking Commands 66-1 stack This command is used to enable the daisy-chain stacking function and use the no stack command to disable the daisy-chain stacking function. stack no stack Parameters None.
  • Page 596 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Privileged EXEC Mode. Command Default Level Level: 12. Usage Guideline Initially, a switch unit has no unit ID assigned. When this switch unit is initialized or is added to a stack, it will get a unit ID auto-assigned by the master unit.
  • Page 597 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide higher priority. The new priority setting will be saved in individual switch units when the user saves the configuration. Example This example shows how to configure the priority of the switch unit 2 to 10.
  • Page 598 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Command Mode Privileged EXEC Mode. Command Default Level Level: 12. Usage Guideline Use this command to enable sending of stacking related traps. Example This example shows how to enable sending of stacking related traps.
  • Page 599 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch#show stack Stacking Mode : Enabled Stack Preempt : Enabled Trap State : Disabled Topology : Duplex_Chain My Box ID Master ID Box Count Box User Module Prio- Prom Runtime Name...
  • Page 600: Storm Control Commands

    DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 67. Storm Control Commands 67-1 snmp-server enable traps storm-control This command is used enable or control the command to enable sending SNMP notifications for storm control. Use the no form of this command to disable sending SNMP notifications.
  • Page 601 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide unicast Specifies to set the unicast rate limit. When the action is configured as the shutdown mode, the unicast refers to both known and unknown unicast packets; that is, if the known and unknown unicast packets hit the specified threshold, the port will be shutdown.
  • Page 602 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# configure terminal Switch(config)# interface eth3/0/1 Switch(config-if)# storm-control broadcast level pps 500 Switch(config-if)# storm-control action shutdown Switch(config)# interface eth3/0/2 Switch(config-if)# storm-control broadcast level 70 60 Switch(config-if)# storm-control action drop Switch(config-if)# 67-3 storm-control polling This command is used to configure the polling interval of received packet counts.
  • Page 603 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide show storm-control interface INTERFACE-ID [, | -] [broadcast | multicast | unicast] Parameters INTERFACE-ID Specifies the port’s interface ID. (Optional) Specifies a series of interfaces, or separate a range of interfaces from a previous range. No space is allowed before and after the comma.
  • Page 604 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# show storm-control interface eth3/0/1-2 Polling Interval : 15 sec Shutdown Retries : Infinite Trap : Disabled Interface Storm Action Threshold Current State ---------------------- -------------------------------------------- eth3/0/1 Broadcast Drop 80/64 % Forwarding...
  • Page 605: Surveillance Vlan Commands

    DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 68. Surveillance VLAN Commands 68-1 surveillance vlan This command is used to enable the global surveillance VLAN state and configure the surveillance VLAN. Use the no form of this command to disable the surveillance VLAN state.
  • Page 606 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Parameters MINUTES Specifies the aging time of surveillance VLAN. The range is from 1 to 65535 minutes. Default By default, this aging time is 720 minutes. Command Mode Global Configuration Mode.
  • Page 607 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Both the surveillance vlan command in Global Configuration Mode and the surveillance vlan enable command in Interface Configuration Mode need to be enabled for a port to start the surveillance VLAN function.
  • Page 608 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Command Mode Global Configuration Mode. Command Default Level Level: 12. Usage Guideline Use this command to add user-defined OUI(s) for the surveillance VLAN. The OUI for surveillance VLAN are used to identify the surveillance traffic by the surveillance VLAN function.
  • Page 609 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# configure terminal Switch(config)# surveillance vlan qos 7 Switch(config)# 68-6 show surveillance vlan This command is used to display the surveillance VLAN configurations. show surveillance vlan [ interface [ INTERFACE-ID [, | -] ] ]...
  • Page 610 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# show surveillance vlan Surveillance VLAN ID : 100 Surveillance VLAN CoS : 5 Aging Time : 30 minutes Member Ports Dynamic Member Ports Surveillance VLAN OUI : OUI Address Mask...
  • Page 611: Switch Port Commands

    DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 69. Switch Port Commands 69-1 duplex This command is used to configure the physical port interface’s duplex setting. Use the no form of command to revert to the default setting. duplex {full | half | auto}...
  • Page 612 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Parameters Specifies to enable a port to send PAUSE frames or process PAUSE frames from remote ports. Specifies to disable the ability for a port to send or receive PAUSE frames.
  • Page 613 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Command Mode Interface Configuration Mode. Command Default Level Level: 12. Usage Guideline This command cannot be applied to a port when the medium of the port interface is fiber. Example This example shows how to configure the MDIX state of interface eth1/0/1 to auto:...
  • Page 614 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Level: 12. Usage Guideline If the specified speed is not supported by the hardware, error messages will be returned. For a 1000BASE-T connection, if the speed is specified to 1000 Mbps, the port must be configured as master or slave.
  • Page 615 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch#configure terminal Switch(config)#interface eth1/0/5 Switch(config-if)#speed auto-downgrade Switch(config-if)#...
  • Page 616: System File Management Commands

    DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 70. System File Management Commands 70-1 boot config This command is used to specify the file that will be used as the configuration file for the next boot. boot config URL...
  • Page 617 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Level: 15. Usage Guideline When using the boot image command, the associated specified boot image file will be the startup boot image file for the next reboot. Use this command to assign a file as the next-boot image file. The system will check the model and checksum to determine whether the file is a valid image file.
  • Page 618 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Privilege EXEC Mode. Command Default Level Level: 15. Usage Guideline Use this command to clear the system’s configuration retained in DRAM. The configuration data will revert to the default settings. Before using this command, save a backup of the configuration using the copy command or upload the configuration profile to the TFTP server.
  • Page 619 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# reset system This command will clear all of system configuration as factory default setting including IP parameters and stacking information. Clear system configuration, save, reboot? (y/n) [n] Saving configurations and logs to NV-RAM..Done.
  • Page 620 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# configure replace tftp: //10.0.0.66/config.cfg This will apply all necessary additions and deletions to replace the current running configuration with the contents of the specified configuration file, which is assumed to be a complete configuration, not a partial configuration.
  • Page 621 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide of the URL is represented by the following keywords. If running-config is specified as the DESTINATION-URL, the purpose is to apply a configuration to the running configuration. If startup-config is specified as the DESTINATION-URL, the purpose is to save a configuration to the next-boot configuration.
  • Page 622 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# copy tftp: //10.1.1.254/switch-config.cfg running-config Address of remote host []? 10.1.1.254 Source filename []? switch-config.cfg Destination filename running-config? [y/n]: Accessing tftp://10.1.1.254/switch-config.cfg... Transmission start... Transmission finished, file length 45421 bytes. Executing script file switch-config.cfg ..
  • Page 623 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# copy tftp: //10.1.1.254/image.had flash: image.had Address of remote host [10.1.1.254]? Source filename [image.had]? Destination filename [image.had]? Accessing tftp://10.1.1.254/image.had... Transmission start... Transmission finished, file length 8315060 bytes. Transmission to slave start....
  • Page 624 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide show boot [unit UNIT-ID] Parameters UNIT-ID (Optional) Specifies the unit to be displayed. Default None. Command Mode EXEC Mode or Any Configuration Mode. Command Default Level Level: 1. Usage Guideline This command is used to display the boot configuration file and the boot image setting.
  • Page 625 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide This example shows how to display the content of the running configuration file. Switch#show running-config Building configuration... Current configuration : 37933 bytes #------------------------------------------------------------------------------- DGS-1510-28XMP Gigabit Ethernet SmartPro Switch Configuration Firmware: Build 1.30.003 Copyright(C) 2015 D-Link Corporation.
  • Page 626 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch#show startup-config #------------------------------------------------------------------------------- DGS-1510-28XMP Gigabit Ethernet SmartPro Switch Configuration Firmware: Build 1.30.002 Copyright(C) 2015 D-Link Corporation. All rights reserved. #------------------------------------------------------------------------------- # STACK # DEVICE configure terminal # AAA configure terminal # AAA START...
  • Page 627: System Log Commands

    DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 71. System Log Commands 71-1 clear logging This command is used to delete log messages in the system logging buffer. clear logging Parameters None. Default None. Command Mode Privilege EXEC Mode.
  • Page 628 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide discriminator (Optional) Specifies to filter the message to be sent to local buffer based on the discriminator. write-delay SECONDS (Optional) Specifies to disable periodical writing of the logging buffer to the FLASH.
  • Page 629 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide warnings, notifications, informational, debugging. discriminator (Optional) Specifies to filter the message to be sent to the local console based on the discriminator. Default By default, this option is disabled. Command Mode Global Configuration Mode.
  • Page 630 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide None. Command Mode Global Configuration Mode. Command Default Level Level: 12. Usage Guideline An existing discriminator can be configured. The later setting will overwrite the previous setting. Associate a discriminator with the logging buffered and the logging server command.
  • Page 631 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Global Configuration Mode. Command Default Level Level: 12. Usage Guideline System messages can be logged to the local message buffer, local console or remote hosts. Messages must enter the local message buffer first before it can be further dispatched to logging server.
  • Page 632 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 71-6 logging source-interface This command is used to specify the interface whose IP address will be used as the source address for sending the SYSLOG packet. Use the no form of this command to revert to the default setting.
  • Page 633 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide EXEC Mode or Any Configuration Mode. Command Default Level Level: 1. Usage Guideline Use this command to display the system messages logged in the local message buffer. Each message logged in the message buffer is associated with a sequence number. As a message is logged, a sequence number starting from 1 is allocated.
  • Page 634 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide storage. Therefore, for this type of log messages only the first log that is generated each minute can be stored in the system log, with the rest of them being stored in a separate table named attack log.
  • Page 635: Time And Sntp Commands

    DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 72. Time and SNTP Commands 72-1 clock set This command is used to manually set the system’s clock. clock set HH:MM:SS DAY MONTH YEAR Parameters Specifies the current time in hours (24-hour format), minutes and HH:MM:SS seconds.
  • Page 636 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Parameters recurring Specifies that summer time should start and end on the specified week day of the specified month. date Specifies that summer time should start and end on the specified date of the specified month.
  • Page 637 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide HOURS-OFFSET Specifies the hours difference from UTC. (Optional) Specifies the minutes difference from UTC. MINUTES-OFFSET Default By default, this option is set to UTC. Command Mode Global Configuration Mode. Command Default Level Level: 12.
  • Page 638 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# show clock Current Time Source : SNTP Current Time : 18:20:04, 2014-07-04 Time Zone : UTC +02:30 Daylight Saving Time : Recurring Offset in Minutes : 30 Recurring From : Apr 2nd Tue 15:00...
  • Page 639 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 72-6 sntp server This command is used to allow the system clock to be synchronized with an SNTP time server. Use the no form of this command to remove a server from the list of SNTP servers.
  • Page 640 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Default By default, this option is disabled. Command Mode Global Configuration Mode. Command Default Level Level: 12. Usage Guideline This command is used to enable or disable the SNTP function. Example This example shows how to enable the SNTP function.
  • Page 641: Time Range Commands

    DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 73. Time Range Commands 73-1 periodic This command is used to specify the period of time for a time range profile. This command is used in the time-range configuration mode. periodic {daily HH:MM to HH:MM | weekly WEEKLY-DAY HH:MM to [WEEKLY-DAY] HH:MM}...
  • Page 642 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Parameters NAME (Optional) Specifies the name of the time-range profile to be displayed. Default None. Command Mode EXEC Mode or Any Configuration Mode. Command Default Level Level: 1. Usage Guideline If the name is not specified, all configured time-range profiles will be displayed.
  • Page 643 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Use this command to enter the time range configuration mode before using the periodic command to specify a time period. When a time-range is created without any time interval (periodic) setting, it implies that there is not any active period for the time-range.
  • Page 644: Traffic Segmentation Commands

    DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 74. Traffic Segmentation Commands 74-1 show traffic-segmentation forward This command is used to display the traffic segmentation for some ports or all ports. show traffic-segmentation forward [interface INTERFACE-ID [, | -]] Parameters (Optional) Specifies ID of an interface.
  • Page 645 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide INTERFACE-ID Specifies the ID of an interface allowed. The allowed interfaces include physical port. (Optional) Specifies a series of interfaces, or separate a range of interfaces from a previous range. No space before and after the comma.
  • Page 646: Virtual Lan (Vlan) Commands

    DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 75. Virtual LAN (VLAN) Commands 75-1 acceptable-frame This command is used to set the acceptable types of frames by a port. Use the no form of this command to revert to the default settings.
  • Page 647 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Interface Configuration Mode. Command Default Level Level: 12. Usage Guideline Use this command to enable ingress checking for packets received by the interface. If ingress checking is enabled, the packet will be dropped if the received port is not a member port of the VLAN classified for the received packet.
  • Page 648 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch#show vlan VLAN 1 Name : default Tagged Member Ports Untagged Member Ports : 1/0/1-1/0/28 Total Entries : 1 Switch# This example shows how to display the PVID, ingress checking, and acceptable frame type information for ports eth1/0/1-1/0/4.
  • Page 649 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 75-4 switchport access vlan This command is used to specify the access VLAN for an interface. Use the no form of this command to revert to the default setting. switchport access vlan VLAN-ID...
  • Page 650 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide (Optional) Specifies a series of VLANs, or separate a range of VLANs from a previous range. No space is required before and after the comma. (Optional) Specifies a range of VLANs. No space is required before and after the hyphen.
  • Page 651 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Usage Guideline When configuring the hybrid port join to its native VLAN, use the switchport hybrid allowed vlan command to add the native VLAN into its allowed VLAN. The specified VLAN does not need to exist to apply the command.
  • Page 652 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# configure terminal Switch(config)# interface eth1/0/1 Switch(config-if)# switchport mode trunk Switch(config-if)# 75-8 switchport trunk allowed vlan This command is used to configure the VLANs that are allowed to receive and send traffic on the specified interface in a tagged format.
  • Page 653 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 75-9 switchport trunk native vlan This command is used to specify the native VLAN ID of a trunk mode interface. Use the no interface command to reset to the native VLAN ID to the default setting.
  • Page 654 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide previous range. No space is required before and after the comma. (Optional) Specifies a range of VLANs. No space is required before and after the hyphen. Default The VLAN ID 1 exists in the system as the default VLAN.
  • Page 655 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Example This example shows how to configure the VLAN name of VLAN 1000 to be “admin-vlan”. Switch# configure terminal Switch(config)# vlan 1000 Switch(config-vlan)# name admin-vlan Switch(config-vlan)# 75-12 mac-vlan This command is used to add the MAC-based VLAN classification entry. Use the no form of this command to remove the MAC-based VLAN classification entry.
  • Page 656 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Parameters PROFILE-ID Specifies the ID of the protocol group. ethernet2 Specifies the type of the Ethernet II frames. Specifies the type of the SNAP frames. snap Specifies the type of the LLC frames.
  • Page 657 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide This command is used to add or remove the VLAN classification entry for a protocol group on a port. Example This example shows how to create a VLAN classification entry on eth1/0/1 to classify packets in protocol group 10 to VLAN 3000.
  • Page 658 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# show protocol-vlan interface eth1/0/1 Interface Protocol Group ID VLAN Priority -------------- ----------------- ---- -------- eth1/0/1 3000 Switch# This example shows how to display the protocol group profile settings. Switch#show protocol-vlan profile...
  • Page 659: Voice Vlan Commands

    DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 76. Voice VLAN Commands 76-1 voice vlan This command is used to enable the global voice VLAN state and configure the voice VLAN. Use the no form of this command to disable the voice VLAN state.
  • Page 660 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide MINUTES Specifies the aging time of the voice VLAN. The valid range is from 1 to 65535 minutes. Default By default, this value is 720 minutes. Command Mode Global Configuration Mode.
  • Page 661 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# configure terminal Switch(config)# interface eth1/0/1 Switch(config-if)# voice vlan enable Switch(config-if)# 76-4 voice vlan mac-address This command is used to add the user-defined voice device OUI. Use the no form of this command to delete the user-defined voice device OUI.
  • Page 662 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# configure terminal Switch(config)# voice vlan mac-address 00-02-03-00-00-00 FF-FF-FF-00-00-00 description User1 Switch(config)# 76-5 voice vlan mode This command is used to enable the automatic learning of the port as voice VLAN member ports. Use the no form of this command to disable the automatic learning.
  • Page 663 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# configure terminal Switch(config)# interface eth1/0/1 Switch(config-if)# voice vlan mode auto tag Switch(config-if)# 76-6 voice vlan qos This command is used to configure the CoS priority for the incoming voice VLAN traffic. Use the no form of this command to revert to the default setting.
  • Page 664 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide after the comma. (Optional) Specifies a range of interfaces. No space is allowed before and after the hyphen. (Optional) Specifies to display the voice devices learned by OUI. device lldp-med device (Optional) Specifies to display the voice devices learned by LLDP- MED.
  • Page 665 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# show voice vlan interface eth1/0/1-5 Interface State Mode ------------ ---------- ------------ eth1/0/1 Enabled Auto/Tag eth1/0/2 Enabled Manual eth1/0/3 Enabled Manual eth1/0/4 Enabled Auto/Untag eth1/0/5 Disabled Manual Switch# This example shows how to display the learned voice devices on ports eth1/0/1-1/0/2.
  • Page 666: Web Authentication Commands

    DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 77. Web Authentication Commands 77-1 web-auth enable This command is used to enable the Web authentication function on the port. Use the no form of this command to disable the Web authentication function.
  • Page 667 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide password-title STRING Specifies the password title of Web authentication login window. The maximum number can be up to 32 characters. logout-window-title STRING Specifies the title of the Web authentication logout window. The maximum number can be up to 64 characters.
  • Page 668 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide STRING Specifies the default URL the client Web browser will be redirected to after successful authentication. If no default redirect URL is specified, the Web authentication logout page will be displayed. The default redirect path can be up to 128 characters.
  • Page 669 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# configure terminal Switch(config)# web-auth system-auth-control Switch(config)# 77-5 web-auth virtual-ip This command is used to configure the Web authentication virtual IP address which is used to accept authentication requests from host. Use the no form of this command to revert to the default setting.
  • Page 670 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# configure terminal Switch(config)# web-auth virtual-ip ipv6 2000::2 Switch(config)# web-auth virtual-ip url www.website6.co Switch(config)# 77-6 snmp-server enable traps web-auth This command is used to enable sending SNMP notifications for Web-Authentication. Use the no form of this command to disable sending SNMP notifications.
  • Page 671: Appendix A - System Log Entries

    DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Appendix A - System Log Entries The following table lists all possible entries and their corresponding meanings that will appear in the System Log of this switch. 802.1X Log Description Severity Event description: 802.1X Authentication failure.
  • Page 672 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Username: It indicates the username for authentication. Event description: This log will be generated when login failure. Log Message: Login failed through <exec-type> <from client-ip> authenticated by AAA <aaa-method> <server-ip> (Username: <username>).
  • Page 673 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide server-ip: It indicates the AAA server IP address. username: It indicates the username for authentication. Event description: This log will be generated when RADIUS assigned a valid VLAN ID attributes. Log Message: RADIUS server <server-ip> assigned VID: <vid> to port <interface-id>...
  • Page 674 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide username: Represent current login user. ipaddr: Represent client IP address Auto Surveillance VLAN Log Description Severity Event description: When a new surveillance device is detected on an interface. Informational Log Message: New surveillance device detected (<interface-id>, MAC: < mac- address >)
  • Page 675 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide unitID: The unit ID. session: The user’s session. username: Represent current login user. ipaddr: Represent client IP address. macaddr : Represent client MAC address. serverIP: Server IP address. pathFile: Path and file name on server.
  • Page 676 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Event description: Configuration downloaded successfully. Log Message: [Unit <unitID>, ]Configuration downloaded by <session> successfully. (Username: <username>[, IP: <ipaddr>, MAC: <macaddr>], Server IP: <serverIP>, File Name: <pathFile>) Parameters description: unitID: The unit ID.
  • Page 677 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide ipaddr: Represent client IP address. macaddr : Represent client MAC address. serverIP: Server IP address. pathFile: Path and file name on server. Event description: Unknown type files downloaded unsuccessfully. Log Message: [Unit <unitID>, ]Downloaded by <session> unsuccessfully.
  • Page 678 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide RX power high-low: High or low threshold. Event description: when the any of SFP parameters exceeds from the alarm threshold. Log Message: Optical transceiver <interface-id> <component> <high-low> alarm threshold exceeded. Parameters description: interface-id: port interface ID.
  • Page 679 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide renews success. Parameters description: ipv6address: ipv6 address obtained from a DHCPv6 server. ipif-name: Name of the DHCPv6 client interface. Event description: The ipv6 address obtained from a DHCPv6 server starts Informational rebinding Log Message: The IPv6 address <...
  • Page 680 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Log Message: The IPv6 prefix < ipv6networkaddr > on interface <intf-name> starts rebinding. Parameters description: ipv6address: IPv6 prefix obtained from a delegation router. intf-name: Name of the DHCPv6 client PD interface.
  • Page 681 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide interface-id: Interface name Interface Log Description Severity Event description: When port is down Log Message: Port <port-type>< interface-id> link down Parameters description: Informational port-type: port type interface-id: Interface name Event description: When port is up Log Message: Port <port-type><...
  • Page 682 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Log Description Severity Event description: Link Aggregation Group link up. Informational Log Message: Link Aggregation Group < group_id > link up. Parameters description: group_id: The group id of the link down aggregation group.
  • Page 683 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Log Description Severity Event description: LLDP-MED topology change detected Notice Log Message: LLDP-MED topology change detected (on port <portNum>. chassis id: <chassisType>, <chassisID>, port id: <portType>, <portID>, device class: <deviceClass>) Parameters description: portNum: The port number.
  • Page 684 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 7. local(7) portID: port ID. deviceClass: LLDP-MED device type. Event description: Incompatible LLDP-MED TLV set detected Notice Log Message: Incompatible LLDP-MED TLV set detected ( on port < portNum >, chassis id: < chassisType>, <chassisID>, port id: < portType>, <portID>, device class: <deviceClass>)
  • Page 685 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide username: Represent current login user. Event description: Logout through console. Log Message: [Unit <unitID>, ] Logout through Console (Username: <username>) Informational Parameters description: unitID: The unit ID. username: Represent current login user.
  • Page 686 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide ipaddr: Represent client IP address. MAC-based Access Control Log Description Severity Event description: A host has passed the authentication. Log Message: MAC-based Access Control host login success (MAC: <mac- address>, <interface-id>, VID: <vlan-id>).
  • Page 687 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Log Message: Spanning Tree Protocol is enabled. Event description: Used to record the event that Spanning Tree Protocol is Informational disabled Log Message: Spanning Tree Protocol is disabled. Event description: Used to record MSTP instance topology change event.
  • Page 688 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Log Message: Spanning Tree instance created (Instance :< Instance-id >) Parameters description: Instance-id: MST instance id. Instance 0 represents for default instance, CIST. Event description: Use to record action to delete an MST instance.
  • Page 689 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Parameters description: Unit <id>: The unit ID. fan-descr: The FAN ID and position. Event description: Fan Fail Critical Log Message: Unit <id> <fan-descr> failed Parameters description: Unit <id>: The unit ID.
  • Page 690 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Port Security Log Description Severity Event description: Address full on a port Log Message: MAC address <macaddr> causes port security violation on <interface-id>. Warning Parameters description: macaddr: The violation MAC address.
  • Page 691 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide unitID: Box ID. Macaddr: MAC address. Event description: Hot removal. Log Message: Unit: <unitID>, MAC: <macaddr> Hot removal. Parameters description: Informational unitID: Box ID. Macaddr: MAC address. Event description: Stacking topology change.
  • Page 692 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Multicast: Multicast storm is cleared. Unicast: Unicast storm (including both known and unknown unicast packets) is cleared. interface-id: The interface ID on which a storm is cleared. Event description: Port shut down due to a packet storm Warning Log Message: <interface-id>...
  • Page 693 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Log Message: New voice device detected (<interface-id>, MAC: < mac-address >) Parameters description: interface-id: Interface name. mac-address: Voice device MAC address Event description: When an interface which is in auto voice VLAN mode joins...
  • Page 694 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Event description: Login failed through Web (SSL). Log Message: Login failed through Web (SSL) (Username: <username>, IP: <ipaddr>). Warning Parameters description: username: The use name that used to login SSL server.
  • Page 695 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide...
  • Page 696: Appendix B - Trap Entries

    DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Appendix B - Trap Entries The following table lists all possible trap log entries and their corresponding meanings that will appear in the switch. 802.1X Trap Name Description dDot1xExtLoggedSuccess The trap is sent when a host has successfully logged 1.3.6.1.4.1.17...
  • Page 697 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Trap Name Description dDdmAlarmTrap A notification is generated when an abnormal alarm 1.3.6.1.4.1.17 situation occurs or recovers from an abnormal alarm 1.14.72.0.1 situation to normal status. Only when the current value > low warning or current value < high warning will send recover trap.
  • Page 698 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide interval time. 1.14.45.0.2 Binding objects: (1) dErrDisNotifyInfoPortIfIndex (2) dErrDisNotifyInfoReasonID General Management Trap Name Description dGenMgmtLoginFail This trap is sent when the user login failed to the 1.3.6.1.4.1.17 switch. 1.14.165.0.1 Binding objects:...
  • Page 699 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide object for one of its communication links is about to enter the down state from some other state (but not from the notPresent state). This other state is indicated by the included value of ifOperStatus.
  • Page 700 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide MAC-based Access Control Trap Name Description dMacAuthLoggedSuccess The trap is sent when a MAC-based Access Control 1.3.6.1.4.1.17 host is successfully logged in. 1.14.153.0.1 Binding objects: (1) ifIndex, (2) dnaSessionClientMacAddress (3) dnaSessionAuthVlan...
  • Page 701 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide (1) dEntityExtEnvPowerUnitId (2) dEntityExtEnvPowerIndex (3) dEntityExtEnvPowerStatus dEntityExtFanStatusChg Fan status change notification. 1.3.6.1.4.1.17 1.14.5.0.1 Binding objects: (1) dEntityExtEnvFanUnitId (2) dEntityExtEnvFanIndex (3) dEntityExtEnvFanStatus dEntityExtThermalStatusChg Temperature status change notification. 1.3.6.1.4.1.17 1.14.5.0.2 Binding objects: (1) dEntityExtEnvTempUnitId...
  • Page 702 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Port Trap Name Description linkUp A notification is generated when port linkup. 1.3.6.1.6.3.1. 1.5.4 Binding objects: (1) ifIndex (2) if AdminStatus (3) ifOperStatu linkDown A notification is generated when port linkdown.
  • Page 703 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Trap Name Description dSafeguardChgToExhausted This trap indicates System change operation mode 1.3.6.1.4.1.17 from normal to exhaust. 1.14.19.1.1.0. Binding objects: (1) dSafeguardEngineCurrentMode dSafeguardChgToNormal This trap indicates system change operation mode 1.3.6.1.4.1.17 from exhausted to normal.
  • Page 704 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Binding objects: (1) swSingleIPMSID (2) swSingleIPMSMacAddr (3) ifIndex swSingleIPMSLinkUp The commander switch will send this notification 1.3.6.1.4.1.17 when its member generates a link up notification. 1.12.8.6.0.14 Binding objects: (1) swSingleIPMSID (2) swSingleIPMSMacAddr...
  • Page 705 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide System File Trap Name Description dsfUploadImage The notification is sent when the user uploads image 1.3.6.1.4.1.17 file successfully. 1.14.14.0.1 dsfDownloadImage The notification is sent when the user downloads 1.3.6.1.4.1.17 image file successfully.
  • Page 706: Appendix C - Radius Attributes Assignment

    DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Appendix C - RADIUS Attributes Assignment The RADIUS Attributes Assignment on the DGS-1510 is used in the following modules: Console, Telnet, SSH, Web, 802.1X, MAC-based Access Control, JWAC, and WAC. The description that follows explains the following RADIUS Attributes Assignment types: ...
  • Page 707 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide bandwidth is configured less than “0” or greater than maximum supported value, the bandwidth will be ignored. To assign the 802.1p Default Priority by the RADIUS server, the proper parameters should be configured on the RADIUS server.
  • Page 708 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Tag field value String field format 0x01 VLAN name (ASCII) 0x02 VLAN ID (ASCII) Others When the switch receives the VLAN setting string, it will think it is the VLAN ID first. In other words, the switch will check all existing (0x00, 0x03 ~ 0x1F, >0x1F)
  • Page 709: Appendix D - Ietf Radius Attributes Support

    IETF standard RADIUS attributes are defined in the RFC 2865 Remote Authentication Dial-In User Service (RADIUS), RFC 2866 RADIUS Accounting, RFC 2868 RADIUS Attributes for Tunnel Protocol Support, and RFC 2869 RADIUS Extensions. The following table lists the IETF RADIUS attributes supported by the D-Link switch. RADIUS Authentication Attributes: Number...
  • Page 710 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide NAS-Port-ID NAS-IPv6-Address RADIUS Accounting Attributes: Number IETF Attribute User-Name NAS-IP-Address NAS-Port Service-Type Framed-IP-Address Calling-Station-ID NAS-Identifier Acct-Status-Type Acct-Delay-Time Acct-Input-Octets Acct-Output-Octets Acct-Session-ID Acct-Authentic Acct-Session-Time Acct-Input-Packets Acct-Output-Packets Acct-Terminate-Cause Acct-Input-Gigawords Acct-Output-Gigawords NAS-Port-Type NAS-IPv6-Address...
  • Page 711: Appendix E - Erps Information

    DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Appendix E - ERPS Information Only hardware-based ERPS (external PHY) supports the fast link drop interrupt feature with a recovery time of 50ms. Model Name ERPS Port 1 to 8 Port 9 to 16...

Table of Contents