D-Link DGS-510 Reference Manual
D-Link DGS-510 Reference Manual

D-Link DGS-510 Reference Manual

Gigabit ethernet smartpro switch
Table of Contents

Advertisement

Quick Links

1

Advertisement

Table of Contents
loading

Summary of Contents for D-Link DGS-510

  • Page 2: Table Of Contents

    DHCPv6 Guard Commands ..........................196 DHCPv6 Relay Commands ..........................200 Digital Diagnostics Monitoring (DDM) Commands ..................... 205 D-Link Discovery Protocol (DDP) Client Commands ..................214 Domain Name System (DNS) Commands ......................217 DoS Prevention Commands ..........................222 Dynamic ARP Inspection Commands ........................ 226 Error Recovery Commands ..........................
  • Page 3 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Link Aggregation Control Protocol (LACP) Commands ..................358 Link Layer Discovery Protocol (LLDP) Commands .................... 364 Loopback Detection (LBD) Commands ......................393 MAC Authentication Commands ........................400 Mirror Commands ............................... 404 MLD Snooping Commands ..........................
  • Page 4: Introduction

    The documents below are a further source of information in regards to configuring and troubleshooting the Switch. All the documents are available from the CD bundled with this switch, or from the D-Link website. Other documents related to the Switch are:  DGS-1510 Series Gigabit Ethernet SmartPro Switch Hardware Installation Guide ...
  • Page 5: Command Descriptions

    DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide NOTICE: A notice indicates either potential damage to hardware or loss of data and tells you how to avoid the problem. CAUTION: A caution indicates a potential for property damage, personal injury, or death. Command Descriptions The information pertaining to each command in this reference guide is presented using a number of template fields.
  • Page 6 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Therefore, the User EXEC Mode can operate at a basic user level and the Privileged EXEC Mode can operate at the operator, or administrator levels. The user can only enter the Global Configuration Mode from the Privileged EXEC Mode.
  • Page 7: Global Configuration Mode

    DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Privileged EXEC Mode at Administrator Level This command mode has a privilege level of 15. Users logged in with this command mode can monitor all system information and change any system configuration settings mentioned in this Configuration Guide.
  • Page 8 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide NOTE: After upgrading the firmware on the Switch and no user accounts were created, the default admin user account will automatically be created after rebooting the Switch with the new boot-up configuration file. NOTE: After upgrading the firmware on the Switch and user accounts were created, the default admin user account will not be created automatically.
  • Page 9: Error Messages

    After the Switch was rebooted, or when the users logs out and back in, the newly created username and password must be entered to access the CLI interface again, as seen below. DGS-1510-28XMP Gigabit Ethernet SmartPro Switch Command Line Interface Firmware: Build 1.40.014 Copyright(C) 2017 D-Link Corporation. All rights reserved. User Access Verification Username:user1 Password: ******** Switch# Interface Notation When configuration the physical ports available on this switch, a specific interface notation is used.
  • Page 10: Editing Features

    DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Invalid input detected at The command was entered incorrectly. ^marker The following example shows how an ambiguous command error message is generated. Switch# show v Ambiguous command Switch# The following example shows how an incomplete command error message is generated. Switch# show Incomplete command Switch#...
  • Page 11 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide The example below shows how to use the begin FILTER-STRING parameter in a show command. Switch#show running-config | begin # AAA # AAA configure terminal # AAA START no aaa new-model # AAA END # PRIVMGMT configure terminal...
  • Page 12 Current configuration : 30764 bytes #------------------------------------------------------------------------------- DGS-1510-28XMP Gigabit Ethernet SmartPro Switch Configuration Firmware: Build 1.40.014 Copyright(C) 2017 D-Link Corporation. All rights reserved. #------------------------------------------------------------------------------- # STACK configure terminal # SSL CTRL+C ESC q Quit SPACE n Next Page ENTER Next Entry a All...
  • Page 13: Basic Cli Commands

    DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Basic CLI Commands 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. Command Mode EXEC Mode or Any Configuration Mode.
  • Page 14 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide The following example shows how to use the word help to display all the Privileged EXEC Mode commands that begin with the letters “re”. The letters entered before the question mark (?) are reprinted on the next command line to allow the user to continue entering the command.
  • Page 15 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide disable This command is used to downgrade to a level lower user level than the privileged level. disable [PRIVILEGE-LEVEL] Parameters PRIVILEGE LEVEL Specifies the privilege level to enter. If not specified, level 1 is used. Default None.
  • Page 16 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# configure terminal Switch(config)# login (EXEC) This command is used to configure a login username. login Parameters None. Default None. Command Mode User EXEC Mode. Privileged EXEC Mode. Command Default Level Level: 1.
  • Page 17 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Default By default, all line interfaces use the login local method (by username and password). Command Mode Line Configuration Mode. Command Default Level Level: 15. Usage Guideline For Console and Telnet access, when AAA is enabled, the line uses rules configured by the AAA module.
  • Page 18 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide This example shows how to create a username “useraccount” with the password of “pass123” and use Privilege 12. Switch# configure terminal Switch(config)# username useraccount privilege 12 password 0 pass123 Switch(config)# This example shows how to configure the login method as login local. Switch# configure terminal Switch(config)# line console Switch(config-line)# login local...
  • Page 19 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 Executing this command will return access to the highest mode in the CLI hierarchy regardless of what configuration mode or configuration sub-mode currently located at.
  • Page 20: Show History

    DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 2-10 show history This command is used to list the commands entered in the current EXEC Mode session. show history Parameters None. Default None. Command Mode EXEC Mode or Any Configuration Mode. Command Default Level Level: 1.
  • Page 21: Show Unit

    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 If the type is not specified, all types of environment information will be displayed. Example This example shows how to display fan, temperature, power availability and status information. Switch#show environment Detail Temperature Status: Unit...
  • Page 22 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Command Default Level Level: 1. Usage Guideline This command displays information about the system modules. If no option is specified, then all of units’ information will be displayed. Example This example shows how to display the information about units on a system. Switch#show unit Unit Model Descr...
  • Page 23 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch#show cpu utilization CPU Utilization Five seconds - 12 % One minute - 12 % Five minutes - 12 % Switch# 2-14 show version This command is used to display the Switch’s software version information. show version Parameters None.
  • Page 24 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Parameters (Optional) Specifies to enable the fan trap state for warning fan event (fan failed or fan recover). power (Optional) Specifies to enable the power trap state for warning power event (power failed or power recover). temperature (Optional) Specifies to enable the temperature trap state for warning temperature event (temperature exceeds the thresholds or...
  • Page 25 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Command Default Level Level: 12. Usage Guideline This command is used to configure the environment temperature threshold which corresponds to the normal range of the temperature defined for the sensor. The low threshold must be smaller than the high threshold.
  • Page 26 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 2-18 show privilege This command is used to display current privilege level. show privilege 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 current privilege level.
  • Page 27: Commands

    DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 802.1X Commands 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 28 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 29 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Usage Guideline 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. Switch# configure terminal Switch(config)# interface eth1/0/1 Switch(config-if)# dot1x default...
  • Page 30: Dot1X Initialize

    DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 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 no dot1x forward-pdu Parameters None.
  • Page 31 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. Example This example shows how to initialize the authenticator state machine on Ethernet port 1/0/1.
  • Page 32 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 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. dot1x pae authenticator no dot1x pae authenticator Parameters...
  • Page 33 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 34 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} no dot1x timeout {server-timeout | supp-timeout | tx-period} Parameters server-timeout SECONDS...
  • Page 35 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Parameters 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 36: Show Dot1X Statistics

    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 37 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. (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 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 39 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 can be used to enable or disable sending SNMP notifications for 802.1X authentication.
  • Page 40: Access Control List (Acl) Commands

    DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Access Control List (ACL) Commands 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. access-list resequence {NAME | NUMBER} STARTING-SEQUENCE-NUMBER INCREMENT no access-list resequence Parameters...
  • Page 41 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 access-list extended R&D Switch(config-ip-ext-acl)# 5 permit tcp any 10.30.0.0 255.255.0.0 Switch(config-ip-ext-acl)# exit...
  • Page 42 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Usage Guideline 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 43 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 VLAN access-map vlan-map 20 match mac address: ext_mac(ID: 6856)
  • Page 44 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. NUMBER Specifies the number of the expert access list to be configured.
  • Page 45 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Parameters NAME Specifies the name of the extended expert access-list to be configured. The name can be up to 32 characters. NUMBER Specifies the ID number of expert access list. For extended expert access lists, the value is from 8000 to 9999.
  • Page 46 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Default None. Command Mode Interface Configuration Mode. Command Default Level Level: 12. Usage Guideline If an IP access group is already configured on the interface, the command applied later will overwrite the previous setting.
  • Page 47 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 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. If the access list number is not specified, the biggest unused number in the range of IP access list numbers will be assigned automatically.
  • Page 48 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# configure terminal Switch(config)# interface eth3/0/3 Switch(config-if)# ipv6 access-group ip6-control in The remaining applicable IPv6 related access entries are 2500, remaining range entries are 32. Switch(config-if)# 4-10 ipv6 access-list This command is used to create or modify an IPv6 access list. This command will enter into IPv6 access-list configuration mode.
  • Page 49 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 4-11 list-remark This command is used to add remarks for the specified ACL. Use the no form of this command to delete the remarks. list-remark TEXT no list-remark Parameters TEXT Specifies the remark information. The information can be up to 256 characters long.
  • Page 50 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide (Optional) Specifies that the MAC access list will be applied to check in the ingress direction. If direction is not specified, in is used. Default None. Command Mode Interface Configuration Mode. Command Default Level Level: 12.
  • Page 51 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Usage Guideline Use this command to enter the MAC access-list configuration mode and use the permit or deny command to specify the entries. The name must be unique among all access lists. The characters of the name are case sensitive.
  • Page 52 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide match ipv6 address {ACL-NAME | ACL-NUMBER} no match ipv6 address Parameters ACL-NAME Specifies the name of the IPv6 ACL access list to be configured. The name can be up to 32 characters. ACL-NUMBER Specifies the number of the IPv6 ACL access list to be configured.
  • Page 53 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Command Default Level Level: 12. Usage Guideline Use this command to associate a MAC 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). MAC sub- map just check non-IP packets.
  • Page 54 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide vlan-range MIN-VID MAX-VID (Optional) Specifies the VLAN range. Enter the minimum and maximum VLAN ID in the range here. vlan OUTER-VLAN (Optional) Specifies the outer VLAN ID. Specifies to use any source MAC address, any destination MAC address, any source IP address, or any destination IP address.
  • Page 55 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide ICMP-MESSAGE (Optional) Specifies the ICMP message. The following pre-defined parameters are available for selection: beyond-scope, destination- unreachable, echo-reply, echo-request, header, hop-limit, mld- query, mld-reduction, mld-report, nd-na, nd-ns, next-header, no- admin, no-route, packet-too-big, parameter-option, parameter- problem, port-unreachable, reassembly-timeout, redirect, renum- command, renum-result, renum-seq-number, router-advertisement, router-renumbering, router-solicitation, time-exceeded,...
  • Page 56 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide ADDR | DST-IP-ADDR DST-IP-WILDCARD} [{eq | lt | gt | neq} PORT | range MIN-PORT MAX- PORT] [TCP-FLAG] [[precedence PRECEDENCE] [tos TOS] | dscp DSCP] [time-range PROFILE-NAME] [SEQUENCE-NUMBER] {permit | deny} udp {any | host SRC-IP-ADDR | SRC-IP-ADDR SRC- IP-WILDCARD} [{eq | lt | gt | neq} PORT | range MIN-PORT MAX-PORT] {any | host DST-IP- ADDR | DST-IP-ADDR DST-IP-WILDCARD} [{eq | lt | gt | neq} PORT | range MIN-PORT MAX- PORT] [[precedence PRECEDENCE] [tos TOS] | dscp DSCP] [time-range PROFILE-NAME]...
  • Page 57 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide neq PORT (Optional) Specifies to match if not equal to the specified port number. range MIN-PORT MAX-PORT (Optional) Specifies to match if fall within the range of ports. TCP-FLAG (Optional) Specifies the TCP flag fields and the specified TCP header bits called ack (acknowledge), fin (finish), psh (push), rst (reset), syn (synchronize), or urg (urgent).
  • Page 58 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide To create a matching rule for an IP standard access list, only the source IP address or destination IP address fields can be specified. Example This example shows how to create four entries for an IP extended access list, named Strict-Control. These entries are: permit TCP packets destined to network 10.20.0.0, permit TCP packets destined to host 10.100.1.2, permit all TCP packets go to TCP destination port 80 and permit all ICMP packets.
  • Page 59 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide [SEQUENCE-NUMBER] {permit | deny} {any | host SRC-IPV6-ADDR | SRC-IPV6- ADDR/PREFIX-LENGTH} [any | host DST-IPV6-ADDR | DST-IPV6-ADDR/PREFIX-LENGTH] [time-range PROFILE-NAME] no SEQUENCE-NUMBER Parameters SEQUENCE-NUMBER Specifies the sequence number. The range is from 1 to 65535. The lower the number is, the higher the priority of the permit/deny rule.
  • Page 60 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide time-range PROFILE-NAME (Optional) Specifies the name of time period profile associated with the access list delineating its activation period. Default None. Command Mode IPv6 Access-list Configuration Mode. Command Default Level Level: 12. Usage Guideline If a rule entry is created without a sequence number, a sequence number will be automatically assigned.
  • Page 61 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide [ethernet-type TYPE MASK] [cos VALUE] [{vlan VLAN-ID | vlan-range MIN-VID MAX-VID}] [time-range PROFILE-NAME] no SEQUENCE-NUMBER Parameters SEQUENCE-NUMBER Specifies the sequence number. The range is from 1 to 65535. The lower the number is, the higher the priority of the permit/deny rule. Specifies any source MAC address or any destination MAC address.
  • Page 62 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide MAC access-list rules will only check non-IP packets. Example This example shows how to configure MAC access entries in the profile daily-profile to allow two sets of source MAC addresses. Switch# configure terminal Switch(config)# mac access-list extended daily-profile Switch(config-mac-ext-acl)# permit 00:80:33:00:00:00 00:00:00:ff:ff:ff any...
  • Page 63 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Parameters (Optional) Specifies to display a listing of all IP access lists. (Optional) Specifies to display a listing of all MAC access lists. ipv6 (Optional) Specifies to display a listing of all IPv6 access lists. expert (Optional) Specifies to display a listing of all expert access lists.
  • Page 64 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# show access-list ip simple-ip-acl IP access list simple-ip-acl(ID:3994) 10 permit tcp any 10.20.0.0 0.0.255.255 (Ing: 12410 packets) 20 permit tcp any host 10.100.1.2 (Ing: 6532 packets) 30 permit icmp any any (Ing: 8758 packets) Counter enable on following port(s): Ingress port(s): eth1/0/5-eth1/0/8...
  • Page 65: Show Vlan Filter

    DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# show vlan access-map VLAN access-map vlan-map 10 match ip access list: stp_ip1(ID: 1888) action: forward Counter enable on VLAN(s): 1-2 match count: 8541 packets VLAN access-map vlan-map 20 match mac access list: ext_mac(ID: 6995) action: redirect eth1/0/5...
  • Page 66 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# show vlan filter VLAN Map aa Configured on VLANs: 5-127,221-333 VLAN Map bb Configured on VLANs: 1111-1222 Switch# Switch# show vlan filter vlan 5 VLAN ID 5 VLAN Access Map: aa Switch# 4-25 vlan access-map...
  • Page 67: Vlan Filter

    DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Example This example shows how to create a VLAN access map. Switch# configure terminal Switch(config)# vlan access-map vlan-map 20 Switch(config-access-map)# 4-26 vlan filter This command is used to apply a VLAN access map in a VLAN. Use the no form of this command to remove a VLAN access map from the VLAN.
  • Page 68: Access Management Commands

    DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Access Management Commands 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. access-class IP-ACL no access-class IP-ACL Parameters...
  • Page 69 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. Default By default, the string is the same as the SNMP server name.
  • Page 70 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. 15 PASSWORD Specifies the password in the encrypted form based on MD5.
  • Page 71 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)# 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 72 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 73 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Example 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)# 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 74 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 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 75 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide line {console | telnet | ssh} 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 76 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Usage Guideline The user account configuration information is stored in the running configuration file and can be applied to the system later. If the service password-encryption command is enabled, the password will be stored in the encrypted form.
  • Page 77 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# show terminal Terminal Settings: Length: 24 lines Width: 80 columns Default Length: 24 lines Default Width: 80 columns Baud rate: 9600 bps Switch# 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.
  • Page 78 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Default By default, the state is enabled. Command Mode EXEC Mode or Any Configuration Mode. Command Default Level Level: 1. Usage Guideline Use this command to display information about the http server status. Example This example shows how to display information about the http server status.
  • Page 79 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide show users Parameters None. Default None. Command Mode EXEC Mode or Any Configuration Mode. Command Default Level Level: 1. Usage Guideline This command displays information about the active lines on the Switch. Example This example shows how to display all session information.
  • Page 80: Terminal Length

    Switch# telnet 10.90.90.91 DGS-1510-28XMP Gigabit Ethernet SmartPro Switch Command Line Interface Firmware: Build 1.40.014 Copyright(C) 2017 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 81 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide display will not stop until it reaches the end of the display. Default By default, this value is 24. Command Mode Use the EXEC Mode or Privilege EXEC Mode for the terminal length command. Use the Global Configuration Mode for the terminal length default command.
  • Page 82 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Command Default Level Level: 12. Usage Guideline Use this command to configure the terminal connection speed. Some baud rates available on the devices connected to the port might not be supported on the Switch. Example This example shows how to configure the serial port baud rate to 9600 bps.
  • Page 83 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide no terminal width terminal width default NUMBER no terminal width default Parameters NUMBER Specifies the number of characters to display on the screen. Valid values are from 40 to 255. Default By default, this value is 80 characters.
  • Page 84 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 5-23 username This command is used to create a user account. Use the no form of this command to delete the user account. username NAME [privilege LEVEL] [nopassword | password [0 | 7 | 15] PASSWORD] no username [NAME] Parameters NAME...
  • Page 85 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Example This example shows how to create an administrative username, called admin, and a password, called “mypassword”. Switch# configure terminal Switch(config)# username admin privilege 15 password 0 mypassword Switch(config)# This example shows how to remove the user account with the username admin. Switch# configure terminal Switch(config)# no username admin Switch(config)#...
  • Page 86 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# configure terminal Switch(config)# line console Switch(config-line)# password 123 Switch(config-line)# 5-25 clear line This command is used to disconnect an active session on the switch. clear line LINE-ID Parameters LINE-ID Specifies the line ID to disconnect a connection session. The value is from 1 to 22.
  • Page 87: Arp Spoofing Prevention Commands

    DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide ARP Spoofing Prevention Commands 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 88 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)# show ip arp spoofing-prevention This command is used to display the configuration of ARP spoofing prevention. show ip arp spoofing-prevention Parameters None.
  • Page 89: Asymmetric Vlan Commands

    DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Asymmetric VLAN Commands 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 90: Authentication, Authorization, And Accounting (Aaa) Commands

    DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Authentication, Authorization, and Accounting (AAA) Commands 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. aaa accounting commands LEVEL {default | LIST-NAME} start-stop METHOD1 [METHOD2...] no aaa accounting commands LEVEL {default | LIST-NAME} Parameters...
  • Page 91 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 92 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide accounting successfully. default Specifies to configure the default method list for network accounting. METHOD1 [METHOD2...] Specifies the list of methods that the accounting algorithm tries in the given sequence. Enter at least one method or enter up to four methods.
  • Page 93 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 94 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 95 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Command Default Level 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 96 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch#configure terminal Switch(config)#aaa authentication jwac default group radius Switch(config)# 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. aaa authentication login {default | LIST-NAME} METHOD1 [METHOD2...] no aaa authentication login {default | LIST-NAME} Parameters...
  • Page 97 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 98 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 99 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 100 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 101 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. default Specifies to do accounting based on the default method list.
  • Page 102 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 103 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Usage Guideline 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 104 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 8-18 ip http accounting exec This command is used to specify an AAA accounting method for HTTP server users. Use the no form of this command to revert to the default setting. ip http accounting exec {default | METHOD-LIST} no ip http accounting exec Parameters...
  • Page 105 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Command Mode Line Configuration Mode. Command Default Level Level: 15. 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 106 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch#configure terminal Switch(config)# radius-server deadtime 10 Switch(config)# 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] [timeout SECONDS] [retransmit COUNT] key [0 | 7] KEY-STRING no radius-server host {IP-ADDRESS | IPV6-ADDRESS}...
  • Page 107 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch#configure terminal Switch(config)# radius-server host 172.19.10.100 auth-port 1500 acct-port 1501 timeout 8 retransmit 3 key ABCDE Switch(config)# radius-server host 172.19.10.101 auth-port 1600 acct-port 1601 timeout 3 retransmit 1 key ABCDE Switch(config)# 8-22 server (RADIUS) This command is used to associate a RADIUS server host with a RADIUS server group.
  • Page 108 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide server {IP-ADDRESS | IPV6-ADDRESS} no server {IP-ADDRESS | IPV6-ADDRESS} Parameters IP-ADDRESS Specifies the IPv4 address of the authentication server. 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.
  • Page 109 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Command Default Level Level: 1. Usage Guideline Use this command to display the AAA global state. Example This example shows how to display the AAA global state. Switch# show aaa AAA is enabled. Switch# 8-25 tacacs-server host...
  • Page 110: Show Radius Statistics

    DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch#configure terminal Switch(config)# tacacs-server host 172.19.10.100 port 1500 timeout 8 key ABCDE Switch(config)# tacacs-server host 172.19.122.3 port 1600 timeout 3 key ABCDE Switch(config)# 8-26 show radius statistics This command is used to display RADIUS statistics for accounting and authentication packets. show radius statistics Parameters None.
  • Page 111 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide RADIUS server. Access Requests The number of RADIUS Access-Request packets sent to this server. This does not include retransmissions. Access Accepts The number of RADIUS Access-Accept packets (valid or invalid) received from this server. Access Rejects The number of RADIUS Access-Reject packets (valid or invalid) received from this server.
  • Page 112 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Command Default Level Level: 1. Usage Guideline Use this command to display statistics counters related to servers. Example 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...
  • Page 113: Basic Ipv4 Commands

    DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Basic IPv4 Commands 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. arp IP-ADDRESS HARDWARE-ADDRESS no arp IP-ADDRESS HARDWARE-ADDRESS Parameters...
  • Page 114 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 115 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 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 116 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 117: Show Arp

    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)# 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] Parameters ARP-TYPE (Optional) Specifies the ARP type.
  • Page 118 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. Example This example shows how to display the ARP aging time.
  • Page 119 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Usage Guideline 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 Interface IP Address Link Status...
  • Page 120: 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 INTERFACE-ID} Parameters Specifies to clear the dynamic neighbor cache entries associated with all interfaces.
  • Page 121 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide also a local subnet on the interface. link-local Specifies a link-local address to be configured. Default None. Command Mode 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.
  • Page 122 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Default None. Command Mode Interface Configuration Mode. Command Default Level Level: 12. Usage Guideline 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.
  • Page 123 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# configure terminal Switch(config)# interface vlan1 Switch(config-if)# ipv6 address dhcp Switch(config-if)# 10-5 ipv6 enable This command is used to enable IPv6 processing on interfaces that have no IPv6 address explicitly configured. Use the no form of this command to disable IPv6 processing on interfaces that have no IPv6 address explicitly configured.
  • Page 124 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide interface, configure this value as 0. The range is from 0 to 255. Default By default, this value is 64. Command Mode Interface Configuration Mode. Command Default Level Level: 12. Usage Guideline Use this command to configure the hop limit to be advertised in RA messages.
  • Page 125: Ipv6 Nd Prefix

    DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 10-8 ipv6 nd other-config-flag This command is used to enable the other configure flag in the advertised RA message. Use the no command to disable this flag. ipv6 nd other-config-flag no ipv6 nd other-config-flag Parameters None.
  • Page 126 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Default The default valid lifetime value is 2592000 seconds (30 days). The default preferred lifetime value is 604800 seconds (7 days). By default, the off-link flag and auto-config flag is on. Command Mode Interface Configuration Mode.
  • Page 127 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Usage Guideline The following rules apply to the minimum RA interval value if the minimum value is not configured:  If the maximum RA interval value is equal to or greater than 9 seconds, then the minimum value will be 33% of the maximum value.
  • Page 128 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide ipv6 nd suppress-ra no ipv6 nd suppress-ra Parameters None. Default By default, this feature is enabled on a VLAN interface and disabled on a tunnel interface. Command Mode Interface Configuration Mode. Command Default Level Level: 12.
  • Page 129 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Example This example shows how to configure the reachable time on VLAN 1 to 3600 seconds. Switch# configure terminal Switch(config)# interface vlan1 Switch(config-if)# ipv6 nd reachable-time 3600000 Switch(config-if)# 10-14 ipv6 nd ns-interval This command is used to configure the interval between retransmissions of NS messages.
  • Page 130: Show Ipv6 Interface

    DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Parameters IPV6-ADDRESS Specifies the IPv6 address of the IPv6 neighbor cache entry. INTERFACE-ID Specifies the interface for creating the static IPv6 neighbor cache entry. MAC-ADDRESS Specifies the MAC address of the IPv6 neighbor cache entry. Default None.
  • Page 131: Show Ipv6 Neighbors

    DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# show ipv6 interface vlan2 vlan2 is up, Link status is down IPv6 is enabled, link-local address: FE80::201:1FF:FE02:305 Global unicast address: 200::2/64 (DHCPv6 PD) IP MTU is 1500 bytes RA advertised retransmit interval is 0 milliseconds Switch# This example shows how to display brief IPv6 interface information.
  • Page 132 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Example This example shows how to display the IPv6 neighbor cache entry. Switch# show ipv6 neighbors IPv6 Address Link-Layer Addr Interface Type State -------------------------------------- ----------------- --------- ---- ----- FE80::200:11FF:FE22:3344 00-00-11-22-33-44 vlan1 REACH Total Entries: 1 Switch#...
  • Page 133: 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. spanning-tree bpdu-protection no spanning-tree bpdu-protection Parameters...
  • Page 134 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Command Mode 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 135 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 Disabled Shutdown Normal...
  • Page 136 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Command Default Level 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. Switch#configure terminal Switch(config)#snmp-server enable traps stp-bpdu-protection Switch(config)#...
  • Page 137: 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 interface INTERFACE-ID Specifies the interface ID.
  • Page 138 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Parameters interface INTERFACE-ID (Optional) Specifies the interface’s ID. The acceptable interface will 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 139 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Parameters Specifies to clear cable diagnostics results for all interfaces. interface INTERFACE-ID Specifies the interface’s ID. The acceptable interface will be a physical port. (Optional) Specifies a series of interfaces, or separate a range of interfaces from a previous range.
  • Page 140: 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. command logging enable no command logging enable Parameters...
  • Page 141: 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. debug enable no debug enable Parameters...
  • Page 142 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Command Mode 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 143 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. tech-support: Specifies to copy the technical support information.
  • Page 144 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Example 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 145 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Usage Guideline 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 Debug buffer is empty Switch#...
  • Page 146 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 147 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 ->8018C814...
  • Page 148 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Command Mode 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. Example This example shows how to display technical support information of all the modules.
  • Page 149 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.40.014 Copyright(C) 2017 D-Link Corporation. All rights reserved. #------------------------------------------------------------------------------- ******************** Basic System Information ******************** [SYS 2000-1-1 00:04:26] Boot Time...
  • Page 150 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. debug show cpu utilization Parameters None.
  • Page 151 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 152 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 rxHCPkt1519to2047Octets rxHCPkt2048to4095Octets rxHCPkt4096to9216Octets...
  • Page 153 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. Switch#debug show error ports unit 1 sio1 UNIT ID 1 SIO 1: RX Frames...
  • Page 154: 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 155 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. Switch# show autoconfig Autoconfig State: Disabled Switch#...
  • Page 156: 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. ip dhcp client class-id {STRING | hex HEX-STRING} no ip dhcp client class-id Parameters...
  • Page 157 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Parameters 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. Command Mode Interface Configuration Mode.
  • Page 158 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide address from the DHCP server. If this option is not configured, the Switch will be sent messages with no Option 12 configured. 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...
  • Page 159: 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. class NAME no class NAME Parameters...
  • Page 160 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 161 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 162 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 163 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. Usage Guideline When DHCP Option 82 is enabled, the DHCP packet received from the client will be inserted with an Option 82 field before being relayed to the server.
  • Page 164 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Usage Guideline 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 165 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 17-9 ip dhcp relay information policy-action This command is used to configure the information re-forwarding policy for the DHCP relay agent for an interface. Use the no form of this command to remove the configuration for the interface. ip dhcp relay information policy-action {drop | keep | replace} no ip dhcp relay information policy-action Parameters...
  • Page 166 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide STRING Specifies to use a user-defined string as the remote ID. Space characters are allowed in the string. vendor2 Specifies to use vendor 2. Vendor3 Specifies to use vendor 3. Default The Switch's system MAC address is used as the remote ID string.
  • Page 167 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Command Default Level Level: 12. Usage Guideline 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”...
  • Page 168 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# configure terminal Switch(config)# ip dhcp relay information option Switch(config)# ip dhcp relay information option format circuit-id vendor1 Switch(config)# 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 169 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide no ip dhcp relay information trust-all Parameters None. 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 170 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Usage Guideline When IP DHCP relay information is trusted on an interface, the arriving packets with the 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 171 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# configure terminal Switch(config)# ip dhcp local-relay vlan 100 Switch(config)# 17-17 ip dhcp smart-relay This command is used to enable the smart relay feature of the DHCP relay agent. Use the no form of this command to disable the smart relay function.
  • Page 172 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide the bit length of the option. MASK (Optional) Specifies the hex bit mask for masking of the pattern. The masked pattern bits will be matched. If not specified, all bits specified by PATTERN will be checked. The bit set to FF will be checked.
  • Page 173 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Command Mode DHCP Pool Configuration Mode. Command Default Level Level: 12. Usage Guideline The relay destination of the DHCP server can be specified in the DHCP relay pool. To do this, use the ip dhcp pool command to enter the DHCP pool configuration mode and then use the relay source command to specify the source subnet of the client requests.
  • Page 174 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Usage Guideline The relay destination of DHCP server can be specified in DHCP relay pool. To do this, use the ip dhcp pool command to enter the DHCP pool configuration mode, use the relay source command to specify the source subnet of the client requests and use the relay destination command to specify the relay destination server address.
  • Page 175: Service Dhcp

    DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide If the relay target command is not configured for a class, the relay target follows the relay destination specified for the pool. The DHCP packet will not be relayed, if the interface that receives the packet has no IP address configured.
  • Page 176 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide show ip dhcp relay information trusted-sources 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 effective setting of the trust relay information option function. Example This example shows how to use this command.
  • Page 177 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Command Default Level Level: 1. Usage Guideline Use this command to display relay information options with insert configuration information. Example This example shows how to displays relay information Option 82 option and insert configuration information for all VLANs.
  • Page 178 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# show ip dhcp relay information policy-action Interface Policy ------------ ---------- vlan1 Keep vlan2 Drop vlan3 Replace vlan4 Not configured Total Entries: 4 Switch#...
  • Page 179: 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 no ip dhcp snooping Parameters None.
  • Page 180: Ip Dhcp Snooping Database

    DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Command Default Level 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 181 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 182 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. Switch# clear ip dhcp snooping binding Switch# 18-6...
  • Page 183 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Parameters MAC-ADDRESS Specifies the MAC address of the entry to add or delete. 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. INTERFACE-ID Specifies the interface (physical port and port channel) on which to add or delete a binding entry.
  • Page 184 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Ports connected to the DHCP server or to other switches should be configured as trusted interfaces. The ports connected to DHCP clients should be configured as untrusted interfaces. DHCP snooping acts as a firewall between untrusted interfaces and DHCP servers. When a port is configured as a untrusted interface, the DHCP message arrives at the port on a VLAN that is enabled for DHCP snooping.
  • Page 185 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# configure terminal Switch(config)# interface eth3/0/3 Switch(config-if)# ip dhcp snooping limit entries 100 Switch(config-if)# 18-10 ip dhcp snooping limit rate This command is used to configure the number of the DHCP messages that an interface can receive per second.
  • Page 186 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 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 187 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# configure terminal Switch(config)# ip dhcp snooping verify mac-address Switch(config)# 18-13 ip dhcp snooping vlan This command is used to enable DHCP snooping on a VLAN or a group of VLANs. Use the no form of this command to disable DHCP snooping on a VLAN or a group of VLANs.
  • Page 188 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. Command Default Level Level: 1.
  • Page 189 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide interface INTERFACE-ID (Optional) Specifies to display the binding entry based on the port (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 190 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- 02-03-04-05 on VLAN 100.
  • Page 191 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Lease (seconds) The IP address lease time. Type The Binding type configured from the CLI or dynamically learned. VLAN The VLAN ID. Interface The interface that connects to the DHCP client host. 18-16 show ip dhcp snooping database This command is used to display the statistics of the DHCP snooping database.
  • Page 192 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. based-on hardware-address CLIENT-HARDWARE-ADDRESS no based-on hardware-address CLIENT-HARDWARE-ADDRESS Parameters...
  • Page 193 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 server screen log buffer. The DHCP server screen log buffer keeps tracks the information of packet that does not pass the screening.
  • Page 194 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 195 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. Command Mode Global Configuration Mode.
  • Page 196 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 00-20-30-40-50-60 06:30:37, 2014-03-10 10.58.2.30...
  • Page 197: 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 INTERFACE-ID Specifies the VLAN interface to restart the DHCPv6 client. Default None.
  • Page 198 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 199: 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 200 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 201 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 202 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 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 203: 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 204 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 205 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 206 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 207 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 208: 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 209 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. eth2/0/3 Transceiver Monitoring is enabled Transceiver Monitoring shutdown action:Alarm...
  • Page 210 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. transceiver-monitoring action shutdown {alarm | warning} no transceiver-monitoring action shutdown Parameters...
  • Page 211 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. VALUE Specifies the value of the threshold.
  • Page 212 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Default 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 213 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Command Mode 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 214 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 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 215 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Command Mode 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 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 216 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 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 217: 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 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 218 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. Default By default, this option is 30 seconds.
  • Page 219 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 220: 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 221 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 222 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. IPV6-ADDRESS Specifies the IPv6 address of the domain name server. IP-ADDRESS2…IP- Specifies multiple IP addresses, separated by spaces.
  • Page 223: Show Hosts

    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. show hosts Parameters None.
  • Page 224 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. Example This example shows how to display the DNS related configuration information.
  • Page 225: 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. dos-prevention DOS-ATTACK-TYPE no dos-prevention DOS-ATTACK-TYPE Parameters...
  • Page 226 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. Switch# configure terminal Switch(config)# dos-prevention all Switch(config)#...
  • Page 227 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 Disabled Ping of Death Attack Disabled...
  • Page 228 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch#configure terminal Switch(config)# snmp-server enable traps dos-prevention Switch(config)#...
  • Page 229: 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. arp access-list NAME no arp access-list NAME Parameters...
  • Page 230: Clear Ip Arp Inspection Statistics

    DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Command Default Level 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...
  • Page 231 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide vlan VLAN-ID Specifies the VLAN associated with the ARP access list. (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 232 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide none Specifies that there is no limit on the ARP packet rate. Default 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.
  • Page 233 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Example This example shows how to change the maximum buffer number to 64. 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 234 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide payload. dst-mac (Optional) Specifies to check for ARP response packets and the 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.
  • Page 235 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Command Mode 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 236 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Command Mode 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 237: Show Ip Arp Inspection

    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. show ip arp inspection [interfaces [INTERFACE-ID [, | -]] | statistics [vlan VLAN-ID [, | -]]] Parameters interfaces INTERFACE-ID...
  • Page 238 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 239 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 ACL Logging DHCP Logging ----- ----------- ---------- Deny...
  • Page 240 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 Total Entries: 7 Switch# Display Parameters...
  • Page 241 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 55-66-20-30-40-50 2 (2014-04-02 00:11:54) eth1/0/3...
  • Page 242: 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 243: Show Errdisable Recovery

    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 Switch(config)# 27-2 show errdisable recovery...
  • Page 244 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] no snmp-server enable traps errdisable [asserted] [cleared] [notification-rate] Parameters asserted...
  • Page 245: 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. description DESCRIPTION Parameters None.
  • Page 246 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”. Switch#configure terminal Switch(config)#ethernet ring g8032 campus Switch(config-erp)#...
  • Page 247 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 248 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”. Switch(config)#ethernet ring g8032 ring1 Switch(config-erp)#instance 1 Switch(config-erp-instance)#r-aps channel-vlan 2...
  • Page 249 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. Usage Guideline This command is used to create or remove an ERP instance and enter ERP instance configuration mode.
  • Page 250 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Example 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 251 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Default 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.
  • Page 252 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} no port1 Parameters INTERFACE_ID...
  • Page 253 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Command Mode 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 254 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 status Specifies to display the status of the ERP instances.
  • Page 255 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 WTR timer: 5 minutes Revertive Instance State: Deactivated...
  • Page 256 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 257 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. Example This example shows how to activate the instance 1.
  • Page 258: File System Commands

    DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 29. File System Commands 29-1 This command is used to change the current directory. cd [DIRECTORY-URL] Parameters DIRECTORY-URL Specifies the URL of the directory. If not specified, the current directory will be shown. Default The default current directory is the root directory on the file system of the local FLASH.
  • Page 259 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 260 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Usage Guideline 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 261 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Parameters 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 262 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Command Default Level Level: 15. 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”. Switch# rename /c:/doc.1 /c:/test.txt Rename file doc.1 to text.txt? (y/n) [n] y Switch#...
  • Page 263 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Parameters unit UNIT-ID (Optional) Specifies the unit ID in the stacking system. If not specified, all units are displayed. Default None. Command Mode EXEC Mode or Any Configuration Mode. Command Default Level Level: 1.
  • Page 264: 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 265 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. Example This example shows how to set the aging time value to 200 seconds.
  • Page 266 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 [, | -] no mac-address-table learning interface INTERFACE-ID [, | -] Parameters INTERFACE-ID...
  • Page 267 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 268 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Default 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.
  • Page 269 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Default By default, the forward-unregistered option is enabled. 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 270 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Example This example shows how to display all the MAC address table entries for the MAC address 00-02-4b- 28-c4-82. 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...
  • Page 271 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 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 Aging Time is 300 seconds Switch#...
  • Page 272 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 Switch# 30-11 show mac-address-table notification change...
  • Page 273 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 eth1/0/7 Disabled Disabled...
  • Page 274 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 Switch# 30-12 show multicast filtering-mode...
  • Page 275 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. Example This example shows how to enable the sending of SNMP MAC notification traps.
  • Page 276 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 277: 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 [, | -]} Parameters Specifies to clear GVRP statistic counters associated with all interfaces.
  • Page 278 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. Switch# configure terminal Switch(config)# gvrp global Switch(config)#...
  • Page 279 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 280: Gvrp Forbidden

    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 281 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Usage Guideline 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 282 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 [,|-]]] Parameters configuration Specifies to display the GVRP configuration.
  • Page 283: Show Gvrp Statistics

    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 : 3-5 eth3/0/6 GVRP Status...
  • Page 284 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 Switch#...
  • Page 285: 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. ip arp gratuitous no ip arp gratuitous Parameters...
  • Page 286 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Usage Guideline 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 287 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide...
  • Page 288: 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} Parameters Specifies to clear IP IGMP snooping statistics for all VLANs and all ports.
  • Page 289 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 290 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 291 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. (Optional) Specifies a series of interfaces, or a separate a range of interfaces from a previous range.
  • Page 292 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 293 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide ip igmp snooping query-interval SECONDS no ip igmp snooping query-interval Parameters SECONDS Specifies to configure the interval at which the designated router sends IGMP general-query messages. The range is 1 to 31744. Default By default, this value is 125 seconds.
  • Page 294 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 295 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 296 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Usage Guideline 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 297 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Usage Guideline This command is only available for VLAN interface configuration. This command applies to IGMP snooping on a VLAN interface to statically add group membership entries. 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.
  • Page 298: Show Ip Igmp Snooping

    DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide ip igmp snooping minimum-version {2 | 3} no ip igmp snooping minimum-version 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 299: Show Ip Igmp Snooping Groups

    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 IGMP snooping information for all VLANs where IGMP snooping is enabled.
  • Page 300 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 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: VLAN ID...
  • Page 301 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. show ip igmp snooping static-group [GROUP-ADDRESS | vlan VLAN-ID] Parameters GROUP-ADDRESS...
  • Page 302 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. Default None.
  • Page 303: 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. INTERFACE-ID Specifies the interface ID to clear the counter.
  • Page 304 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Usage Guideline 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 Switch(config)# interface eth1/0/10 Switch(config-if)# description Physical Port 10...
  • Page 305 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. Switch# configure terminal Switch(config)# interface port-channel 3 Switch(config-if)#...
  • Page 306 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. Default None.
  • Page 307 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 rxHCPkt64Octets : 21 rxHCPkt65to127Octets...
  • Page 308 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# Display Parameters rxHCTotalPkts Receive Packet Counter. Incremented for each packet received (includes bad packets, all Unicast, Broadcast, Multicast Packets, and MAC control packets).
  • Page 309 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide (excluding framing bits but including FCS bytes). rxHCPkt128to255Octets Receive 128 to 255 Byte Frame Counter. Incremented for each good or bad (includes FCS, Symbol, Len/Type error) frame received which is 128 to 255 bytes in length inclusive (excluding framing bits but including FCS bytes).
  • Page 310 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide inclusive (excluding framing bits but including FCS bytes). txHCPkt1519to1522Octets Transmit 1519 to 1522 Byte Good VLAN Frame Counter. Incremented for each good VLAN (excludes FCS and TX errors) frame transmitted which is 1519 to 1522 bytes in length inclusive (excluding framing bits but including FCS bytes).
  • Page 311 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Limit or GBP full. rxSTPDropPkts Receive STP Drop Packet Counter. Incremented for packets dropped due to Spanning Tree State of ingress port was not in forwarding state. rxStormAndFDBDropPkts Receive Policy Discard Packet Counter. Incremented for packets dropped due to receive policy: storm control action, FDB action and so on.
  • Page 312 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide dot3StatsSingleColFrames Transmit Single Collision Frame Counter. 10/100 mode only - incremented for each frame transmitted which experienced exactly one collision during transmission. dot3StatsMultiColFrames Transmit Multiple Collision Frame Counter. 10/100 mode only - incremented for each frame successfully transmitted for which transmission is inhibited by more than one collision.
  • Page 313 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide or other. Default None. Command Mode EXEC Mode or Any Configuration Mode. Command Default Level Level: 1. Usage Guideline If no interface is specified, all existing physical ports will be displayed. Example This example shows how to display the VLAN interface information for interface VLAN 1.
  • Page 314: Show Interfaces Counters

    DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch#show interfaces eth1/0/1 Eth1/0/1 is enabled, link status is up Interface type: 1000BASE-T Interface description: MAC Address: 00-01-02-03-04-01 Auto-duplex, auto-speed, auto-mdix Send flow-control: off, receive flow-control: off Send flow-control oper: off, receive flow-control oper: off Full-duplex, 1Gb/s Maximum transmit unit: 1536 bytes Rx rate: 0 bytes/sec, TX rate: 0 bytes/sec...
  • Page 315 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch#show interfaces ethernet 1/0/1-8 counters Port InOctets / InMcastPkts / InUcastPkts InBcastPkts ------------- ---------------------- ---------------------- eth1/0/1 1834520 9234 eth1/0/2 eth1/0/3 eth1/0/4 eth1/0/5 eth1/0/6 eth1/0/7 eth1/0/8 Port OutOctets / OutMcastPkts / OutUcastPkts OutBcastPkts ------------- ---------------------- ---------------------- eth1/0/1...
  • Page 316 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 eth3/0/3 eth3/0/4 Port...
  • Page 317 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Fcs-Err refer to the item “dot3StatsFCSErrors” in the show counters command. Rcv-Err Refer to the item “ifInErrors” in Display Parameters in the show counters command. UnderSize Refer to the item “rxUndersizedPkts” in Display Parameters in the show counters command.
  • Page 318 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 Switch’s port connection status. Example This example shows how to display the Switch’s port connection status. Switch# show interfaces eth1/0/1-8,3/0/1-2 status Port Status...
  • Page 319 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Example This example shows how to display the Switch’s port utilization. Switch# show interfaces utilization Port TX packets/sec RX packets/sec Utilization ----------- ------------- -------------- ----------- eth1/0/1 eth1/0/2 1488109 eth1/0/3 eth1/0/4 1488109 eth1/0/5 eth1/0/6 eth1/0/7...
  • Page 320 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 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 Capability Bits: 10M_Half, 10M_Full, 100M_Half, 100M_Full, 1000M_Full Capability Advertised Bits: 10M_Half, 10M_Full, 100M_Half, 100M_Full, 1000M_Full Capability Received Bits: - RemoteFaultAdvertised: Disabled RemoteFaultReceived: NoError...
  • Page 321 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide...
  • Page 322: Ip Source Guard Commands

    DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 35. IP Source Guard Commands 35-1 ip source guard adjust-priority state This command is used to specify the adjust priority between IPSG and user-defined ACLs. ip source guard adjust-priority state [highest | lowest] no ip source guard adjust-priority Parameters highest...
  • Page 323 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Command Mode Interface Configuration Mode. Command Default Level Level: 12. Usage Guideline The command is available for physical port and port channel configuration. Use this command to enable the IP source guard on the configured port. When a port is enabled for IP source guard, the IP packet that arrives at the port will be validated via the port ACL.
  • Page 324 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Command Default Level Level: 12. Usage Guideline Use this command to create a static binding entry used for IP source guard checking. Use the no form of this command to delete a static binding entry. The parameters specified for the command must exactly match the configured parameters to be deleted.
  • Page 325 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 IP source guard binding entries are either manually configured or automatically learned by DHCP snooping to guard IP traffic.
  • Page 326 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Type The binding type. Static bindings are configured manually. Dynamic binding are learned from DHCP snooping. VLAN The VLAN number of the client interface. Interface The interface that connects to the DHCP client host. 35-5 show ip verify source This command is used to display the hardware port ACL entry on a particular interface.
  • Page 327 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# show ip verify source interface eth3/0/3 Interface Filter-type Filter-mode IP address MAC address VLAN --------- ----------- ----------- --------------- ----------------- ------- eth3/0/3 ip-mac active 10.1.1.10 00-01-01-01-01-01 100 eth3/0/3 ip-mac active 10.1.1.11 00-01-01-01-01-10 101 eth3/0/3 ip-mac...
  • Page 328: 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 329 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 Ping Statistics for 2001:238:f8a:77:7c10:41c0:6ddd:ecab Packets: Sent =4, Received =4, Lost =0 Switch#...
  • Page 330 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide traceroute {[ip] IP-ADDRESS | [ipv6] IPV6-ADDRESS | HOST-NAME} [probe NUMBER] [timeout SECONDS] [max-ttl TTL] [port DEST-PORT] Parameters (Optional) Specifies the destination IPv4 address. IP-ADDRESS Specifies the IPv4 address of the destination host. ipv6 (Optional) Specifies the destination IPv6 address.
  • Page 331 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch#traceroute 211.21.180.1 10.1.1.254 192.168.249.134 192.168.249.134 <10 ms 192.168.5.230 <10 ms 211.21.180.1 Trace complete. Switch# This example shows how to traceroute the host with IPv6 address 2001:238:f8a:77:7c10:41c0:6ddd:ecab. Switch#traceroute 2001:238:f8a:77:7c10:41c0:6ddd:ecab 1001:238:f8a:77:7c10:41c0:6ddd:ecab Trace complete. Switch# 36-4 ip helper-address...
  • Page 332 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide  Destination IP address must be all-one broadcast.  Packets are IPv4 UDP packets.  IP TTL value must be greater than or equal to 2. Example This example shows how to add the helper address, 172.50.71.123, for VLAN 100. Switch#configure terminal Switch(config)#interface vlan 100 Switch(config-if)#ip helper-address 172.50.71.123...
  • Page 333 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 36-6 show ip helper-address This command is used to display the UDP helper address. show ip helper-address [INTERFACE-ID] Parameters INTERFACE-ID (Optional) Specifies to display for the specified VLAN interface. Default None. Command Mode EXEC Mode or Any Configuration Mode.
  • Page 334 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Example This example shows how to display all specified UDP ports. Switch#show ip forward-protocol udp Application UDP Port -------------------- --------------- Time Service IEN-116 Name Service TACACS TFTP NetBIOS-NS NetBIOS-DS Switch#...
  • Page 335: 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 336 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Command Mode 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 337 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Example 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 01-80-c2-00-00-00 eth3/0/4...
  • Page 338 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Example 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 339: 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. ipv6 snooping policy POLICY-NAME no ipv6 snooping policy POLICY-NAME Parameters...
  • Page 340 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 341 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 no ipv6 snooping policy attach-policy Parameters POLICY-NAME...
  • Page 342 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Command Default Level 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 343 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Target VLAN The name of the target. The target is a VLAN list.
  • Page 344: 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 345 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 346 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 no permit link-local Parameters None.
  • Page 347 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 348 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. IPV6-ADDRESS (Optional) Specifies to displays the binding entries that match the specified IPv6 address.
  • Page 349: 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. jwac authentication-method {md5 | chap | pap | mschap | mschapv2} no jwac authentication-method Parameters...
  • Page 350 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 351 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Example 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 352 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Parameters japanese Specifies to choose the Japanese page. english Specifies to choose the English page. 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.
  • Page 353 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Default These are the default values: page-title is not set. 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.
  • Page 354 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide ipv6 STRING Specifies the URL on the Quarantine Server for IPv6 access authentication. The maximum number can be up to 128 characters. Default None. Command Mode Global Configuration Mode. Command Default Level Level: 12.
  • Page 355 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Usage Guideline When the JWAC Quarantine server monitor feature is enabled, the JWAC switch will monitor the Quarantine server to ensure the server is OK. If the switch detects no Quarantine server, it will redirect all unauthenticated HTTP accesses to the JWAC Login Page if the redirect option is enabled and the redirect destination is configured to be Quarantine server.
  • Page 356 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide no jwac redirect [destination | delay-time] Parameters destination (Optional) Specifies the destination to which the unauthenticated host will be redirected to. delay-time SECOND (Optional) Specifies the time period after which the unauthenticated host will be redirected.
  • Page 357 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Parameters None. Default By default, this option is disabled. 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 358 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Usage Guideline This command is used to add or delete a server network address to which the traffic from unauthenticated client host will not be blocked to by the JWAC switch. Any servers (like update.microsoft.com or some sites of Antivirus software companies, which ActiveX needs to access to accomplish the authentication before the client passes the authentication) should be added with its IP address or with the network address.
  • Page 359 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide no jwac virtual-ip {ipv4 | ipv6 | url} Parameters ipv4 IP-ADDRESS Specifies the JWAC virtual IPv4 address. url STRING Specifies the FQDN URL for JWAC FQDN URL. This can be up to 128 characters.
  • Page 360: 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. max-rcv-frame-size BYTES no max-rcv-frame-size Parameters...
  • Page 361: 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. channel-group CHANNEL-NO mode {on | active | passive} no channel-group Parameters...
  • Page 362 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 no lacp port-priority Parameters PRIORITY...
  • 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 interface configuration. Example This example shows how to configure the port LACP timeout to long mode on Ethernet interface 1/0/1. Switch# configure terminal Switch(config)# interface eth1/0/1...
  • Page 364 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 365 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide detail (Optional) Specifies to display detailed channel group information. neighbor (Optional) Specifies to display neighbor information. 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 366 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, Channel Group 3 Partner Partner...
  • Page 367: 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 368 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. Usage Guideline If this command is issued without the interface keyword, all neighboring information on all interfaces will be cleared.
  • Page 369 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 370 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 Switch(config-if)# 43-4 lldp dot3-tlv-select...
  • Page 371 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 372 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Parameters 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. Command Mode Global Configuration Mode.
  • Page 373 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 374 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. inventory-management (Optional) Specifies to transmit the LLDP-MED inventory management TLV.
  • Page 375 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 376 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 no lldp run Parameters None.
  • Page 377 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Command Default Level 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. Example This example shows how to enable the LLDP global forwarding state.
  • Page 378: Lldp Transmit

    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 Switch(config-if)# 43-14 lldp transmit...
  • Page 379 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. Default By default, this value is 2 seconds.
  • Page 380 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 381 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Command Mode 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. Example This example shows how to enable the sending of LLDP MED notifications for eth2/0/1.
  • Page 382 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 43-20 show lldp This command is used to display the Switch’s general LLDP configuration. show lldp Parameters None. Default None. Command Mode EXEC Mode or Any Configuration Mode. Command Default Level Level: 1.
  • Page 383: Show Lldp Interface

    : A1 Firmware Revision : 1.00.012 Software Revision : 1.40.014 Serial Number : RZNV1F1234567 Manufacturer Name : D-Link Corporation Model Name : DGS-1510-28XMP Gigabit Ethernet Asset ID PoE Device Type : PSE Device PoE PSE Power Source : Primary LLDP Configurations...
  • Page 384 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Command Default Level Level: 1. Usage Guideline This command displays the LLDP information of each physical interface. Example This example shows how to display a specific physical interface’s LLDP configuration. Switch#show lldp interface ethernet 1/0/1 Port ID: eth1/0/1 ------------------------------------------------------------------------------ Port ID...
  • Page 385 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide sending VLAN Name TLVs. The VLAN list includes the configured enabled VLANs. If there is no configured VLAN for the VLAN Name TLV, the string is “(None)”. Enabled Protocol Identity Displays the enabled protocol string for protocol identity TLVs. If there is no enabled protocol for protocol identity TLVs, the string is “(None)”.
  • Page 386 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.40.014 Port 1 on Unit 1 Port PVID Management Address Count Address 1 : (default) Subtype : IPv4 Address : 10.90.90.90...
  • Page 387 ----------------------------------------------------------------------------- Port ID Subtype : Local Port ID : eth1/0/1 Port Description : D-Link Corporation DGS-1510-28XMP 1.40.014 Port 1 on Unit 1 Switch# 43-23 show lldp management-address This command is used to display the management address information. show lldp management-address [IP-ADDRESS | IPV6-ADDRESS]...
  • Page 388 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.137.9.1 Advertising Ports Address 2 : ------------------------------------------------ Subtype : IPv4 Address : 10.90.90.90 IF Type : IfIndex : 1.3.6.1.4.1.171.10.137.9.1...
  • Page 389 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.
  • Page 390 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# show lldp neighbor interface eth4/0/9 detail Port ID : eth4/0/9 ------------------------------------------------------------------------------- Remote Entities Count : 1 Entity 1 Chassis ID Subtype : MAC Address Chassis ID : 00-01-02-03-04-05 Port ID Subtype : Local Port ID : eth1/0/5...
  • Page 391 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# This example shows how to display remote LLDP information in the normal mode.
  • Page 392 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# show lldp neighbor interface eth3/0/1 Port ID : 1 ---------------------------------------------------------------------- Remote Entities Count : 2 Entity 1 Chassis ID Subtype : MAC Address Chassis ID : 00-01-02-03-04-01 Port ID Subtype : Local Port ID : eth3/0/1...
  • Page 393: Show Lldp Traffic

    DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# show lldp neighbor interface eth3/0/1-3/0/2 brief Port ID: eth3/0/1 ------------------------------------------------------------ Remote Entities Count : 2 Entity 1 Chassis ID Subtype : MAC Address Chassis ID : 00-01-02-03-04-01 Port ID Subtype : Local Port ID : eth3/0/1...
  • Page 394 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 The global LLDP traffic information displays an overview of neighbor detection activities on the Switch. Example This example shows how to display global LLDP traffic information.
  • Page 395 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 LLDP traffic on each physical interface. Example This example shows how to display statistics information of port 1. Switch#show lldp traffic interface ethernet 1/0/1 Port ID : eth1/0/1 ---------------------------------------------...
  • Page 396: 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. loopback-detection [mode {port-based | vlan-based}] no loopback-detection [mode] Parameters...
  • Page 397 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Example 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 398 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide specific VLAN in the VLAN-based mode. none Specifies that when a loop was detected, the port will not be disabled in the port-based mode. Traffic will not be block on the specific VLAN in the VLAN-based mode.
  • Page 399 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# configure terminal Switch(config)# loopback-detection address-type broadcast Switch(config)# 44-5 loopback-detection interval This command is used to configure the timer interval. Use the no form of this command to revert to the default setting. loopback-detection interval SECONDS no loopback-detection interval Parameters...
  • Page 400 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 configure the list of VLANs that are enabled for loop detection. The command setting takes effect when the port’s loop detection mode is operated in the VLAN-based mode. By default, LBD Control packets are sent out for all VLANs that the port is a member of.
  • Page 401 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# show loopback-detection Loop Detection : Enabled Detection Mode : vlan-based LBD enabled VLAN : all VLANs Interval : 20 seconds Action Mode : Shutdown Address Type : Multicast Function Version : v4.07 Interface State...
  • Page 402 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Command Default Level Level: 12. Usage Guideline Use this command to enable or disable the sending SNMP notifications of loopback detection. Example This example shows how to enable the sending SNMP notifications of loopback detection. Switch# configure terminal Switch(config)# snmp-server enable traps loopback-detection.
  • Page 403: 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 no mac-auth system-auth-control Parameters None.
  • Page 404 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Command Default Level 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 405 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. mac-auth username STRING no mac-auth username Parameters...
  • Page 406 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. Switch# configure terminal Switch(config)# snmp-server enable traps mac-auth Switch(config)#...
  • Page 407: 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 408 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. (Optional) Specifies the number of interfaces, or separate a range of interfaces from a previous range.
  • Page 409 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. acl ACCESS-LIST-NAME Specifies the flow-based mirror.
  • Page 410 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 Switch#...
  • Page 411: 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} Parameters Specifies to clear IPv6 MLD snooping statistics for all VLANs and all ports.
  • Page 412 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 413 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 414 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. INTERFACE-ID Specifies an interface or an interface list. No space is allowed before and after the comma.
  • Page 415: Ipv6 Mld Snooping Querier

    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 416 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Example 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 417 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Parameters 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 418 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 419 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 420 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 421 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 422: Show Ipv6 Mld Snooping Groups

    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 Suppression time : 10 seconds Proxy reporting...
  • Page 423 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 Total Entries: 3 Switch# 47-18...
  • Page 424 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 425: Show Ipv6 Mld Snooping Statistics

    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 426: 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 427 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. Default The default name is the Switch’s MAC address.
  • Page 428 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Example 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 429 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) Regional Root Bridge Address: 00-00-00-00-00-00, Priority: 0 (0 sysid 0) Designated Bridge Address: 00-00-00-00-00-00, Priority: 0 (0 sysid 0) Topology Changes Count: 0...
  • Page 430 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) Regional Root Bridge Address: 00-00-00-00-00-00, Priority: 0 (0 sysid 0) Designated Bridge Address: 00-00-00-00-00-00, Priority: 0 (0 sysid 0) Topology Changes Count: 0...
  • Page 431 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 Priority Link Interface...
  • Page 432 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Command Default Level 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. Switch# configure terminal Switch(config)# interface eth3/0/1 Switch(config-if)# spanning-tree mst 0 cost 17031970...
  • Page 433 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Parameters max-hops HOP-COUNT Specifies the MSTP maximum hop count number. The range is from 6 to 40 hops. Default By default, this value is 20 hops. Command Mode Global Configuration Mode. Command Default Level Level: 12.
  • Page 434 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# configure terminal Switch(config)# interface eth1/0/1 Switch(config-if)# spanning-tree mst hello-time 1 Switch(config-if)# 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 435: 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 436 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 437 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 438 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Parameters 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 439: 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 no authentication guest-vlan Parameters VLAN-ID...
  • Page 440 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 441 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. Example This example shows how to enable periodic re-authentication on Ethernet port eth1/0/1.
  • Page 442 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 443 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Default 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. Example This example shows how to configure the restart timer to 20 for eth1/0/1.
  • Page 444 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 | jwac |dot1x] | mac-address MAC-ADDRESS} Parameters Specifies to clear all MAC sessions.
  • Page 445 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Parameters 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- hyphen Specifies that when using “-“...
  • Page 446 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Parameters 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.
  • Page 447 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Default None. 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 448 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide If a station is allowed to move, there are two situations. It may either need to be re-authenticated or directly moved to the new port without re-authentication based on the following rule. If the new port has the same authentication configuration as the original port, then re-authentication is not needed.
  • Page 449 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 50-14 show authentication sessions This command is used to display authentication information. 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 450 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Display Parameters Interface The authentication host received interface. MAC Address The MAC address of authentication host. Authentication VLAN The original VLAN of the host start authentication. Authentication State The authentication status of host. Start: Host received, but no any authentication start.
  • Page 451 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide AUTHENTICATING: Indicates that a supplicant is being authenticated. AUTHENTICATED: Indicates that the Authenticator has 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 452: 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. ntp access-group {default | IP-ADDRESS [IP-MASK] | IPV6-ADDRESS | IPV6-ADDRESS /PREFIX-LENGTH} [ignore] [nomodify] [noquery] [nopeer] [noserve] [notrust] [version] no ntp access-group {default | IP-ADDRESS [IP-MASK] | IPV6-ADDRESS | IPV6-ADDRESS...
  • Page 453 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Usage Guideline 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 454 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide ntp authentication-key KEY-ID md5 VALUE 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.
  • Page 455 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Example This example shows how to define a key ID for the NTP control messages. 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 456 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 configure RTC as an NTP master clock when an external NTP is not available.
  • Page 457 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 51-8 ntp peer This command is used to configure the NTP peer settings. Use the no form of this command to disable this feature. 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...
  • Page 458 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 51-9 ntp request-key This command is used to define the key ID for NTP mode 7 packets, used by the ntpdc utility program. Use the no form of this command to remove the key. ntp request-key KEY-ID no ntp request-key Parameters...
  • Page 459 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide interval value specified. For example, if the value specified here is 6, the minimum poll interval that will be used is 64 seconds (2 =64). INTERVAL (Optional) Specifies to enter the minimum poll interval value. The default value is 6.
  • Page 460 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Usage Guideline This command is used to specify the trusted key for a peer NTP system to authenticate. Use the no form of this command to disable this feature. Example This example shows how to configure the NTP trusted key. Switch#configure terminal Switch(config)#ntp trusted-key 45 Switch(config)#...
  • Page 461 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 NTP. Use the no form of this command to disable this feature. Example This example shows how to enable NTP.
  • Page 462 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Display Parameters Leading Characters The first characters in a display line can be one of the following characters: +: Symmetric active mode. -: Symmetric passive mode. =: Client mode. ^: - Broadcast mode. ~: - Broadcast client .
  • Page 463 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Our mode Our mode relative to the peer. This field can display the following modes: active, passive, client, server, bdcast, and bdcastclient. Peer mode The peer’s mode relative to us. Stratum Stratum of the peer.
  • Page 464 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Parameters None. Default 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. Switch# show ntp status Leap Indicator: Unsynchronized...
  • Page 465 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Kernel: The kernel support is enabled. Stats: System status control. Jitter System jitter. Stability Frequency stability (wander) (s/s). Auth Delay Authentication Delay.
  • Page 466: 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 467 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. address Specifies to display all the secure MAC addresses, including both configured and learned entries. Default None.
  • Page 468 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 469 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Command Mode 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 470 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 471 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 472: 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. poe pd description TEXT no poe pd description Parameters...
  • Page 473 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Command Default Level 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. Example This example shows how to enable legacy support for PDs connected to interface eth3/0/1.
  • Page 474 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# configure terminal Switch(config)# interface eth3/0/1 Switch(config-if)# poe pd priority critical Switch(config-if)# 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 475 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide no poe power-inline [auto {max | time-range}] Parameters auto Specifies to enable the auto-detection of PDs and provision power to the PD. max MAX-WATTAGE (Optional) Specifies to set the maximum wattage of power that can be provisioned to the auto-detected PD.
  • Page 476 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 never Switch(config-if)# This example shows how to combine a time-range profile called “day-time” with the PoE port, eth3/0/1. 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...
  • Page 477 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide no snmp-server enable traps poe [unit UNIT-ID] Parameters UNIT-ID Specifies the stacking unit’s ID to be configured. This parameter is only available, if stacking is enabled. Default By default, this option is disabled. Command Mode Global Configuration Mode.
  • Page 478 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Example This example shows how to clear statistics on interface eth3/0/1. 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 479 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 12.4 eth4/0/3...
  • Page 480 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 481 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 482 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 Information from PD: Power type: type 2 PD Power source: PSE...
  • Page 483 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 484 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Preempt Enabled: The power management mode is policy preempt, high priority PD can preempt the provided power of lower priority PD. Disabled: The power management mode is first in first serviced. Trap State Enabled: The trap is sent when the PoE usage threshold exceeds the specified value.
  • Page 485 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide action (Optional) Specifies the action of the system when PD does not reply the ping request. reset - Specifies to disable and then enable the PoE port state. notify - Specifies to send logs and traps to notify the administrator. both - Specifies to send log and trap first, and then reset the PoE port state.
  • Page 486 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide NOTE: If the direct-connected PD is also a PSE, all the next level PDs connect to this PSE will be power cycling whenever the PD alive check function takes effect on the reset or both action.
  • Page 487 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Parameters interface INTERFACE-ID Specifies the interface ID to display. (Optional) Specifies a series of interfaces, or separate a range of interfaces from a previous range. No space before and after the comma.
  • Page 488: 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 no dim led Parameters None.
  • Page 489 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 490 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 491 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 492 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] Parameters link-detection (Optional) Specifies to display the link detection state.
  • Page 493 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide...
  • Page 494: 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] no ip route NETWORK-PREFIX NETWORK-MASK IP-ADDRESS Parameters NETWORK-PREFIX...
  • Page 495 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Parameters default Specifies to add or delete a default route. 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. NEXT-HOP-ADDRESS (Optional) Specifies the IPv6 address of the next hop to reach the destination network.
  • Page 496 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 497 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] | INTERFACE-ID | connected | static] [database] | hardware} Parameters IPV6-ADDRESS...
  • Page 498: Show Ipv6 Route Summary

    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 499 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# show ipv6 route summary Route Source Networks Connected Static Total Switch#...
  • Page 500: 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 501 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 502 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. [ip] dscp DSCP-LIST Specifies differentiated service code point values to be matched.
  • Page 503 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 504 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. BURST-NORMAL (Optional) Specifies the normal burst size in kilobytes. BURST-MAX (Optional) Specifies the maximum burst size, in kilobytes.
  • Page 505: Mls Qos Cos

    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 Switch(config-pmap-c)# 56-5 mls qos cos...
  • Page 506 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 507 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 508 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 509 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 510 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide weighted deficit round-robin scheduling. If the weight of a queue be configured to zero, the queue is in the SP scheduling mode. Default The default queue scheduling algorithm is WRR. Command Mode Interface Configuration Mode.
  • Page 511 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 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. Command Mode Interface Configuration Mode. Command Default Level Level: 12.
  • Page 512 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide conform-action (optional) Specifies the action to take on green color packets. If the action is not specified, the default action is to transmit. exceed-action Specifies the action to take on yellow color packets that exceed the rate limit.
  • Page 513 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide map. If the receipt port trusts CoS then the initial color is mapped from the incoming CoS based on the CoS to color map. A single rate two color policer can only work in color-blind mode. Both single rate three color policers and two rate three color policers can work in color aware mode.
  • Page 514 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 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. A named aggregate policer cannot be referenced from a different policy map.
  • Page 515 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 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 516 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 Switch(config-pmap-c)# exit Switch(config-pmap)# exit Switch(config)# interface eth1/0/3...
  • Page 517 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 Switch(config-pmap-c)# 56-17 priority-queue cos-map...
  • Page 518 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 519 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 input Specifies the bandwidth limit for ingress packets. output Specifies the bandwidth limit for egress packets. NUMBER-KBPS Specifies the number of kilobits per second as the maximum bandwidth limit.
  • Page 520 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 521 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 Switch(config-pmap-c)# police 16000 2000 exceed-action set-dscp-transmit 0 Switch(config-pmap-c)# exit Switch(config-pmap)# exit...
  • Page 522 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 523 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 524 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide rate-limit Specifies to displays the bandwidth limitation configured for the port. queue-rate-limit Specifies to displays the bandwidth allocation configured for the queue. dscp-mutation Specifies to displays the DSCP mutation map attached to the interface.
  • Page 525 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. Switch# show mls qos interface eth1/0/1-2 dscp-mutation Interface DSCP Mutation Map...
  • Page 526 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 Max Bandwidth ---- -------------- -------------...
  • Page 527 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 03 03 04 04 04 04 04 04 04 04 05 05 05 05 05 05 05 05 06 06 06 06 06 06 06 06 07 07 07 07...
  • Page 528 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch#show mls qos map dscp-mutation DSCP Mutation: mutemap1 Attaching interface: eth1/0/3 --------------------------------- 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 08 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49...
  • Page 529 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 wrr bandwidth weights: Weights -------...
  • Page 530 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Parameters INTERFACE-ID (Optional) Specifies the module and port number. POLICY-NAME (Optional) Specifies the name of the policy map. If not specified, all policy maps will be displayed. Default None. Command Mode EXEC Mode or Any Configuration Mode.
  • Page 531 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# show policy-map interface eth3/0/1 Policy Map: policy1 : input Class police police cir 500 bc 10 pir 1000 be 10 conform-action transmit exceed-action set-dscp- transmit 2 violate-action drop Switch# 56-28 wdrr-queue bandwidth This command is used to set the queue quantum in the WDRR scheduling mode.
  • Page 532 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Parameters WEIGHT1 …WEIGHT127 Specifies the weight (frame count) value of every queue for weighted round-robin scheduling. Default None. Command Mode 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.
  • Page 533: 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. rmon collection stats INDEX [owner NAME] no rmon collection stats INDEX Parameters...
  • Page 534 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide owner NAME Specifies the owner string. The maximum length is 127. buckets NUM Specifies the number of buckets specified for the RMON collection history group of statistics. If not specified, the default is 50. The range is from 1 to 65535.
  • Page 535 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. FALLING-EVENT-NUMBER (Optional) Specifies the index of the event entry that is used to notify the falling threshold crossing event. The valid range is from 1 to 65535.
  • Page 536: Show Rmon Alarm

    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 537 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 538: Show Rmon Statistics

    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 Index 23, owned by Manager, Data source is eth4/0/2 Interval: 30 seconds Requested buckets: 50, Granted buckets: 50...
  • Page 539 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 packets: 24 Fragments: 2, Jabbers: 1 CRC alignment errors: 0, Collisions: 0...
  • Page 540: 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. ipv6 nd raguard policy POLICY-NAME no ipv6 nd raguard policy POLICY-NAME Parameters...
  • Page 541 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Command Mode 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 542 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] no ipv6 nd raguard Parameters POLICY-NAME...
  • Page 543 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 544: 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 [PROTOCOL-NAME]} Parameters Specifies to clear all CPU protect counters.
  • Page 545 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 546 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Usage Guideline 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 547 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide interface) 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 Protocol icmpv6-ndp IPv6 ICMP Neighbor Discover Protocol...
  • Page 548 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Example 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 :20% Switch#...
  • Page 549 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. show cpu-protect type {PROTOCOL-NAME [UNIT-ID] | unit UNIT-ID} Parameters PROTOCOL-NAME [UNIT-ID]...
  • Page 550 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. snmp-server enable traps safeguard-engine no snmp-server enable traps safeguard-engine Parameters...
  • Page 551: 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. Specifies to generate the DSA key pair.
  • Page 552 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 553 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Example 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 554 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Parameters 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. Command Mode Global Configuration Mode.
  • Page 555: Show Ip Ssh

    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= Switch# 60-7 show ip ssh...
  • Page 556 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. Switch# show ssh SID Ver.
  • Page 557 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. host-name HOSTNAME Specifies the allowed host name for host-based authentication.
  • Page 558: 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 NAME Specifies the name of the certificate to be deleted. Default None.
  • Page 559 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 560 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 561 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 562: Show Crypto Pki Trustpoints

    DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Example 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. show crypto pki trustpoints [TRUSTPOINT] Parameters TRUSTPOINT...
  • Page 563 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. Example This example shows how to display all SSL service policies.
  • Page 564 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 61-8 ssl-service-policy This command is used to configure the SSL service policy. ssl-service-policy POLICY-NAME [version [VERSION] | ciphersuite [CIPHERSUITE] | secure- trustpoint TRUSTPOINT | session-cache-timeout TIME-OUT] no ssl-service-policy POLICY-NAME [version [VERSION] | ciphersuite [CIPHERSUITE] | secure-trustpoint TRUSTPOINT | session-cache-timeout TIME-OUT] Parameters POLICY-NAME...
  • Page 565 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide point which is specified as the primary will be used. If no primary trust-point is specified, the built-in certificate/key pairs will be used. In no form of this command, the specified trust-point will be canceled and then the built-in certificate/key pairs will be used.
  • Page 566: 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 567 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Example 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 568 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 569 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] Parameters agent (Optional) Specifies to display sFlow agent information.
  • Page 570 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 571 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 572: 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 [, | -]] Parameters INTERFACE-ID (Optional) Specifies the interface ID.
  • Page 573 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Parameters 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. Use the show snmp-server traps command to display trap related settings.
  • Page 574 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 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. Switch# show snmp-server trap-sending interface eth1/0/1-1/0/9 Port Trap Sending...
  • Page 575 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Example 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 576 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 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 577 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Command Default Level Level: 12. 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 578 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 NAME Specifies the string that describes the SNMP server name information.
  • Page 579 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Command Default Level Level: 12. 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 580 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide snmp-server response broadcast-request 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 581: Show Snmp

    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} Parameters community Specifies to display SNMP community information.
  • Page 582 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 SNMPv3 User Name : user1 UDP Port : 50001...
  • Page 583: Show Snmp User

    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: GroupName: initial SecurityModel: v3/noauth ReadView...
  • Page 584 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 585 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Default 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 586 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 587 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Usage Guideline 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 the specified version of SNMP to access the SNMP agent, The same group name can be created with security models SNMPv1, SNMPv2c, and SNMPv3 at the same time.
  • Page 588 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide is 162. The range of UDP port numbers is from 0 to 65535. Some port numbers may conflict with other protocols. Default By default, the version used is 1. Command Mode Global Configuration Mode.
  • Page 589 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 63-20 snmp-server source-interface traps This command is used to specify the interface whose IP address will be used as the source address for sending the SNMP trap packet. Use the no form of this command to revert to the default setting. snmp-server source-interface traps INTERFACE-ID no snmp-server source-interface traps Parameters...
  • Page 590 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide format. auth (Optional) Specifies the authentication level. Specifies to use HMAC-MD5-96 authentication. Specifies to use HMAC-SHA-96 authentication. AUTH-PASSWORD Specifies the authentication password in the plain-text form. This 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.
  • Page 591 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Parameters VIEW-NAME Specifies the name of the view entry. The valid length is 1 to 32 characters. The syntax is general string that does not allow spaces. OID-TREE Specifies the object identifier of the ASN.1 sub-tree to be included or excluded from the view.
  • Page 592: Single Ip Management (Sim) Commands

    DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 64. Single IP Management (SIM) Commands 64-1 This command is used to enable single IP management. The no form of this command disables single IP management. no sim Parameters None. Default By default, this option is disabled.
  • Page 593 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Command Mode 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 594 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# configure terminal Switch(config)# sim group-member 1 secret Switch(config)# 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 595 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Default By default, this value is 30 seconds. Command Mode Global Configuration Mode. 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.
  • Page 596 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 64-7 sim remote-config This command is used to remotely login and configure the single IP management group member or exit from the remote configuration. sim remote-config {member MEMBER-ID | exit} Parameters MEMBER-ID Specifies the member that login.
  • Page 597 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide multiple IDs, or “-“ to denote a range of interface IDs. Default None. Command Mode Privileged EXEC Mode. Command Default Level Level: 12. Usage Guideline This command can be used on Commander Switch to upload files to the server from member switches.
  • Page 598 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 sending single IP management trap. Example This example shows how to enable sending single IP management trap. Switch# configure terminal Switch(config)# snmp-server enable traps sim Switch(config)#...
  • Page 599 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch#show sim SIM Version : VER-1.61 Firmware Version : 1.40.014 Management VLAN Device Name : Switch MAC Address : 3C-1E-04-A1-CC-00 Platform : DGS-1510-28XMP SIM State : Disabled Role State : Candidate Discovery Interval : 30 sec Hold Time : 100 sec...
  • Page 600 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# show sim members 1 Sim Member Information : Member ID Firmware Version : 1.40.014 Device Name : Switch MAC Address : 00-01-02-03-04-00 Platform : DGS-1510-28XMP Hold Time : 100 sec Switch# This example shows how to display the SIM candidate list.
  • Page 601 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# show sim group * -means Commander switch. SIM Group Name : default Hold Firmware MAC Address Platform Time Version Device Name ------------------------------------------------------------------------- 00-01-02-03-04-00 DGS-1510-28XMP 1.40.014 Switch 00-07-15-34-00-50 00-01-02-03-00-10 SIM Group Name : SIM2 Hold Firmware MAC Address...
  • Page 602 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# show sim neighbor Port MAC Address Role ----------------------------------- eth1/0/1 00-02-00-00-08-12 Member eth1/0/2 00-01-00-00-12-12 Member eth1/0/3 EE-FF-00-00-12-12 Candidate Total Entries : 3 Switch#...
  • Page 603: 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. interface INTERFACE-ID Specifies the port interface that will be triggered the detecting action.
  • Page 604 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 605 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 Spanning Tree interface level configuration. The command can be used for all STP versions.
  • Page 606 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Usage Guideline Use this command to enable the sending of notification traps. When using this command with no parameters specified, both STP notification types are enabled or disabled. Example 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.
  • Page 607 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Parameters hello-time SECONDS Specifies the interval that a designated port will wait between the periodic transmissions of each configuration message. The range is 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.
  • Page 608 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Command Default Level Level: 12. Usage Guideline 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 609 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide spanning-tree guard root no spanning-tree guard root 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 610 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Command Default Level Level: 12. 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 611 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} no spanning-tree portfast Parameters disable...
  • Page 612 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Parameters 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 613 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Example This example shows how to configure the STP bridge priority value to 4096. 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 614 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Parameters VALUE Specifies the maximum number of BPDUs that can be sent before pausing for one second. The range is from 1 to 10. Default By default, this value is 6. Command Mode Global Configuration Mode.
  • Page 615 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# configure terminal Switch(config)# interface eth6/0/1 Switch(config-if)# spanning-tree forward-bpdu Switch(config-if)#...
  • Page 616: 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 617 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Command Mode 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 618 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide When two switch units have the same priority, the unit with the smaller MAC address will get the higher priority. The new priority setting will be saved in individual switch units when the user saves the configuration.
  • Page 619 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Default By default, this option is disabled. 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. Switch# configure terminal Switch(config)# snmp-server enable traps stack Switch(config)#...
  • Page 620 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 Exist rity Version Version...
  • Page 621: 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. snmp-server enable traps storm-control [storm-occur] [ storm-clear] no snmp-server enable traps storm-control [storm-occur] [ storm-clear] Parameters...
  • Page 622 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 623 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 624 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 625 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 eth3/0/1 Multicast Drop 80/64 %...
  • Page 626: 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. surveillance vlan VLAN-ID no surveillance vlan Parameters...
  • Page 627 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Example This example shows how to enable the surveillance VLAN function and configure VLAN 1001 as a Surveillance VLAN. Switch# configure terminal Switch(config)# surveillance vlan 1001 Switch(config)# 68-2 surveillance vlan aging This command is used to configure the aging time for aging out the surveillance VLAN dynamic member ports.
  • Page 628 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 command is available for physical port and port-channel interface configuration. The command takes effect for access ports or hybrid ports.
  • Page 629 (Optional) Specifies the description for the user-defined OUI with a maximum of 32 characters. Default OUI Address Mask Component Type Description 28-10-7B-00-00-00 FF-FF-FF-E0-00-00 D-Link Device IP Surveillance Device 28-10-7B-20-00-00 FF-FF-FF-F0-00-00 D-Link Device IP Surveillance Device B0-C5-54-00-00-00 FF-FF-FF-80-00-00 D-Link Device IP Surveillance Device...
  • Page 630 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Default By default, this value is 554. Command Mode Global Configuration Mode. Command Default Level Level: 12. Usage Guideline This command is used to configure the TCP/UDP port number for RTSP stream snooping. ONVIF- capable IPC and ONVIF-capable NVR utilize WS-Discovery to find other devices.
  • Page 631 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide This feature is used to block IPC traffic or not. If the IPC state on the port is disabled, the traffic from the IPC will be blocked. Example This example shows how to enable the state of IPC with the IP address 172.18.60.1. Switch# configure terminal Switch(config)# surveillance vlan onvif-ipc 172.18.60.1 state enable Switch(config)#...
  • Page 632 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide surveillance vlan onvif-nvr IP-ADDRESS [mac-address MAC-ADDRESS] description TEXT no surveillance vlan onvif-nvr IP-ADDRESS [mac-address MAC-ADDRESS] description Parameters IP-ADDRESS Enter the IP address of the ONVIF recognized NVR here. MAC-ADDRESS (Optional) Enter the MAC address of the NVR that is recognized with ONVIF.
  • Page 633 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Command Default Level Level: 12. Usage Guideline The surveillance packets arriving at the surveillance VLAN enabled port are marked to the COS specified by the command. The remarking of COS allows the surveillance VLAN traffic to be distinguished from data traffic in quality of service.
  • Page 634 Dynamic Member Ports Surveillance VLAN OUI : OUI Address Mask Component Type Description ----------------- ----------------- --------------- -------------- 28-10-7B-00-00-00 FF-FF-FF-E0-00-00 D-Link Device IP Surveillance Device 28-10-7B-20-00-00 FF-FF-FF-F0-00-00 D-Link Device IP Surveillance Device B0-C5-54-00-00-00 FF-FF-FF-80-00-00 D-Link Device IP Surveillance Device F0-7D-68-00-00-00 FF-FF-FF-F0-00-00...
  • Page 635 Switch# show surveillance vlan onvif-ipc interface ethernet 1/0/1 brief Interface : eth1/0/1 IP Address : 10.90.90.1 MAC Address : 00-01-02-03-04-05 Model : P3384-VE Manufacturer : D-Link Traffic : Enabled Throughput : 5 Mbps Description : P3384-VE Total Entries: 1 Switch# This example shows how to display detailed ONVIF-based IP camera information.
  • Page 636 Throughput : 10 Mbps Group : Group 1 Description : D-Link-NVR Total Entries: 1 Switch# This example shows how to display ONVIF-based NVR information associated with the group ID 'ipc- list'. Switch# show surveillance vlan onvif-nvr interface ethernet 1/0/1 ipc-list...
  • Page 637: 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} no duplex Parameters full...
  • Page 638 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. Default By default, this option is disabled.
  • Page 639 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: Switch# configure terminal Switch(config)# interface eth1/0/1 Switch(config-if)# mdix auto...
  • Page 640 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Command Default Level 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 641 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 642: 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 Parameters Specifies the URL of the file to be used as the startup configuration file.
  • Page 643 Image information ---------------------- Version: 1.40.014 Description: D-Link Corporation Gigabit Ethernet SmartPro Switch Switch(config)# This example shows how to checks a specified image file called “runtime.wrongswitch.had”. The checksum of the image file has been verified wrong and an error message is displayed.
  • Page 644 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Command Mode 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 645 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. Please wait, the switch is rebooting...
  • Page 646 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 647 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 648 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 ..Executing done Switch# This example shows how to upload the running configuration to the TFTP server for storage.
  • Page 649 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....Done.
  • Page 650 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Command Default Level Level: 12. Usage Guideline This command is used to specify the interface IP address to be used as the source address for initiating TFTP packets. To use this command together with the out of band management port, specify the interface ID for the out of band management port.
  • Page 651 Building configuration... Current configuration : 30820 bytes #------------------------------------------------------------------------------- DGS-1510-28XMP Gigabit Ethernet SmartPro Switch Configuration Firmware: Build 1.40.014 Copyright(C) 2017 D-Link Corporation. All rights reserved. #------------------------------------------------------------------------------- # STACK # DEVICE configure terminal # SSL CTRL+C ESC q Quit SPACE n Next Page ENTER Next Entry a All...
  • Page 652 This example shows how to display the content of the startup configuration file. Switch# show startup-config #------------------------------------------------------------------------------- DGS-1510-28XMP Gigabit Ethernet SmartPro Switch Configuration Firmware: Build 1.40.014 Copyright(C) 2017 D-Link Corporation. All rights reserved. #------------------------------------------------------------------------------- # STACK # DEVICE configure terminal # SSL...
  • Page 653: 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. Command Default Level Level: 12.
  • Page 654 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. Default By default, the severity level is warning (4).
  • Page 655 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 656 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Default 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. Example This example shows how to create a discriminator named “buffer-filter”...
  • Page 657 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Command Mode 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 658 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. logging source-interface INTERFACE-ID no logging source-interface Parameters...
  • Page 659 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 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 660 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Usage Guideline Use this command to display the attack log messages. The attack log message refers to log messages driven by modules such as DOS and the port-security module. This type of log message may generate a large amount of messages and quickly cause the system to run out of system log storage.
  • Page 661: 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 HH:MM:SS Specifies the current time in hours (24-hour format), minutes and seconds.
  • Page 662 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 663 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide HOURS-OFFSET Specifies the hours difference from UTC. MINUTES-OFFSET (Optional) Specifies the minutes difference from UTC. Default By default, this option is set to UTC. Command Mode Global Configuration Mode. Command Default Level Level: 12.
  • Page 664: Show Sntp

    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 : Oct 2nd Wed 15:30 Switch# 72-5...
  • Page 665 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. sntp server {IP-ADDRESS | IPV6-ADDRESS} no sntp server {IP-ADDRESS | IPV6-ADDRESS} Parameters...
  • Page 666 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 667: 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} no periodic {daily HH:MM to HH:MM | weekly WEEKLY-DAY HH:MM to [WEEKLY-DAY] HH:MM} Parameters...
  • Page 668 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. Example This example shows how to display all the configured time ranges.
  • Page 669 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Usage Guideline 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 670: 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 interface INTERFACE-ID (Optional) Specifies ID of an interface.
  • Page 671 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Parameters 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 672: 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. acceptable-frame {tagged-only | untagged-only | admit-all} no acceptable-frame Parameters...
  • Page 673 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Command Mode 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 674 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 675 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 no switchport access vlan Parameters access vlan VLAN-ID...
  • Page 676 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 677 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 678 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 679 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. switchport trunk native vlan {VLAN-ID | tag} no switchport trunk native vlan [tag] Parameters...
  • Page 680 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. Command Mode Global Configuration Mode.
  • Page 681 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 682 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. snap Specifies the type of the SNAP frames. Specifies the type of the LLC frames. ether-type TYPE-VALUE Specifies the Ethernet type.
  • Page 683 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Usage Guideline 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 684 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 Profile ID Frame-type Ether-type...
  • Page 685: 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. voice vlan VLAN-ID no voice vlan Parameters...
  • Page 686 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Parameters 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. Command Default Level Level: 12.
  • Page 687 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 688 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 689 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 690 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. device (Optional) Specifies to display the voice devices learned by OUI. lldp-med device (Optional) Specifies to display the voice devices learned by LLDP- MED.
  • Page 691 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. Switch# show voice vlan device interface eth1/0/1-2 Interface Device Address...
  • Page 692: 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. web-auth enable no web-auth enable Parameters...
  • Page 693 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 694 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Parameters 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 695 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. web-auth virtual-ip {ipv4 IP-ADDRESS | ipv6 IPV6-ADDRESS | url STRING} no web-auth virtual-ip {ipv4 | ipv6 | url} Parameters...
  • Page 696 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 697: 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 698 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>) Parameters description: exec-type: It indicates the EXEC types, e.g.: Console, Telnet, SSH, Web, Web(SSL).
  • Page 699 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 700 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>) Parameters description: interface-id: Interface name.
  • Page 701 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide BPDU Attack Protection Log Description Severity Event description: Record the event when the BPDU attack happened. Informational Log Message: <interface-id> enter STP BPDU under protection state (mode: <mode>) Parameters description: interface-id: Interface on which detected STP BPDU attack. mode: BPDU Protection mode of the interface.
  • Page 702 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide macaddr : Represent client MAC address. serverIP: Server IP address. pathFile: Path and file name on server. Event description: Firmware uploaded unsuccessfully. Log Message: [Unit <unitID>, ]Firmware uploaded by <session> unsuccessfully (Username: <username>[, IP: <ipaddr>, MAC: <macaddr>], Server IP: <serverIP>, File Name: <pathFile>) Parameters description:...
  • Page 703 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Log Message: [Unit <unitID>, ]Configuration uploaded by <session> unsuccessfully. (Username: <username>[, IP: <ipaddr>, MAC: <macaddr>], Server IP: <serverIP>, File Name: <pathFile>) Parameters description: unitID: The unit ID. session: The user’s session. username: Represent current login user.
  • Page 704 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide supply voltage bias current TX power 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 705 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide ipif-name: Name of the DHCPv6 client interface. Event description: The ipv6 address obtained from a DHCPv6 server renews Informational success. Log Message: The IPv6 address <ipv6address> on interface <ipif-name> renews success Parameters description: ipv6address: ipv6 address obtained from a DHCPv6 server.
  • Page 706 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide ipv6anetworkaddr: IPv6 prefix obtained from a delegation router. intf-name: Name of the DHCPv6 client PD interface. Event description: The IPv6 prefix obtained from a delegation router starts Informational rebinding. Log Message: The IPv6 prefix <ipv6networkaddr> on interface <intf-name> starts rebinding Parameters description: ipv6address: IPv6 prefix obtained from a delegation router.
  • Page 707 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Parameters description: dos-type: DOS attack type ip-address: IP address. 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...
  • Page 708 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide below the maximum user limit in a time interval. Log Message: JWAC recovers from stop learning state Event description: when the ACL hardware resource is exhausted. Alert Log Message: JWAC cannot work correctly because ACL rule resource is not available LACP Log Description...
  • Page 709 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide vlan-id: VLAN on which loop is detected. Event description: Record the event when the number of VLANs that loop back has occurred exceeds a reserved number. Critical Log Message: Loop VLAN numbers overflow LLDP-MED Log Description Severity...
  • Page 710 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide portType: port ID subtype. Value list: 1. interfaceAlias(1) 2. portComponent(2) 3. macAddress(3) 4. networkAddress(4) 5. interfaceName(5) 6. agentCircuitId(6) 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...
  • Page 711 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Parameters description: unitID: The unit ID. username: Represent current login user. Event description: Console session timed out. Log Message: [Unit <unitID>, ] Console session timed out (Username: <username>) Informational Parameters description: unitID: The unit ID.
  • Page 712 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Parameters description: username: Represent current login user. ipaddr: Represent client IP address. Event description: Logout through SSH. Log Message: Logout through SSH (Username: <username>, IP: <ipaddr>) Parameters description: Informational username: Represent current login user. ipaddr: Represent client IP address.
  • Page 713 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide MSTP Debug Enhancement Log Description Severity Event description: Used to record the event that Spanning Tree Protocol is Informational enabled. Log Message: Spanning Tree Protocol is enabled Event description: Used to record the event that Spanning Tree Protocol is Informational disabled.
  • Page 714 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide information. old role: new role : The port role of stp. The value may be Disable, Alternate, Backup, Root, Designated Event description: Use to record action to create an MST instance. Informational Log Message: Spanning Tree instance created (Instance :<Instance-id>) Parameters description:...
  • Page 715 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Peripheral Log Description Severity Event description: Fan Recovered. Critical Log Message: Unit <id>, <fan-descr> back to normal Parameters description: Unit <id>: The unit ID. fan-descr: The FAN ID and position. Event description: Fan Fail. Critical Log Message: Unit <id>...
  • Page 716 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Event description: Total power usage threshold is recovered. Log Message: Unit <unit-id> usage threshold <percentage> is recovered Parameters description: Warning unit-id : box id percentage : usage threshold Event description: PD doesn’t reply the ping request. Log Message: PD alive check failed.
  • Page 717: Port Security

    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. interface-id: The interface name.
  • Page 718 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 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. Log Message: Stacking topology is <Stack_TP_TYPE>. Master(Unit <unitID>, MAC:<macaddr>) Parameters description: Stack_TP_TYPE: The stacking topology type is one of the following:...
  • Page 719 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Log Message: SIO interface Unit <unitID> <SIOn> link down Parameters description: unitID: Box ID. SIOn: Represents the SIO interface number. Current Supported SIO interface number should be SIO1 and SIO2. Storm Control Log Description Severity Event description: Storm occurrence.
  • Page 720 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Parameters description: ipaddr: The IP address of telnet client. username: the user name that used to login telnet server. Event description: Logout through Telnet. Log Message: Logout through Telnet (Username: <username>, IP: <ipaddr>) Parameters description: Informational ipaddr: The IP address of telnet client.
  • Page 721 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide username: The use name that used to login HTTP server. ipaddr: The IP address of HTTP client. Event description: Web session timed out. Log Message: Web session timed out (Username: <username>, IP: <ipaddr>) Parameters description: Informational username: The use name that used to login HTTP server.
  • Page 722 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Log Message: Web-Authentication host login fail (Username: <string>, IP: <ipaddr | ipv6address>, MAC: <mac-address>, <interface-id>, VID: <vlan-id>) Parameters description: Username: The host username. IP: The host IP address mac-address: The host MAC addresses.. interface-id: The interface on which the host is authenticated.
  • Page 723: 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 in (passed 802.1X authentication).
  • Page 724 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 725 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide dErrDisNotifyPortDisabledClear The trap is sent when a port loop restarts after the 1.3.6.1.4.1.17 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.
  • Page 726 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide linkDown A linkDown trap signifies that the SNMP entity, acting 1.3.6.1.6.3.1. in an agent role, has detected that the ifOperStatus 1.5.3 object for one of its communication links is about to enter the down state from some other state (but not from the notPresent state).
  • Page 727 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide (3) lldpXMedRemDeviceClass 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 dMacAuthLoggedFail The trap is sent when a MAC-based Access Control...
  • Page 728 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide dEntityExtPowerStatusChg Power Status change notification. 1.3.6.1.4.1.17 1.14.5.0.3 Binding objects: (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.
  • Page 729 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide dPoeIfPdAliveFailOccurNotificati This trap indicates if the PD device has the stop 1.3.6.1.4.1.17 working or no response problem. 1.14.24.0.4 At least 500 msec must elapse between notifications being emitted by the same object instance. Binding objects: (1) pethMainPseGroupIndex (2) pethPsePortIndex...
  • Page 730 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide event that is configured for sending SNMP traps. Binding objects: (1) alarmIndex (2) alarmVariable (3) alarmSampleType (4) alarmValue (5) alarmFallingThreshold Safeguard Trap Name Description dSafeguardChgToExhausted This trap indicates System change operation mode 1.3.6.1.4.1.17 from normal to exhaust.
  • Page 731 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide when its member generates a cold start notification. 1.12.8.6.0.11 Binding objects: (1) swSingleIPMSID (2) swSingleIPMSMacAddr swSingleIPMSWarmStart The commander switch will send this notification 1.3.6.1.4.1.17 when its member generates a warm start notification. 1.12.8.6.0.12 Binding objects: (1) swSingleIPMSID...
  • Page 732 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Storm Control Trap Name Description dStormCtrlOccurred This trap is sent when dStormCtrlNotifyEnable is 1.3.6.1.4.1.17 'stormOccurred' or 'both' and a storm is detected. 1.14.25.0.1 Binding objects: (1) ifIndex (2) dStormCtrlNotifyTrafficType dStormCtrlStormCleared This trap is sent when dStormCtrlNotifyEnable is 1.3.6.1.4.1.17 'stormCleared' or 'both' and a storm is cleared.
  • Page 733 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide...
  • Page 734: 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 735 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 736 DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide The table below shows the definition of Tag field (different with RFC 2868): 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.
  • Page 737: 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 738 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 739: 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 Port 17 to 20 Hardware-based DGS-1510-20...

Table of Contents