D-Link DXS-1210-12TC Reference Manual

D-Link DXS-1210-12TC Reference Manual

Dxs-1210 series l2 10 gigabit ethernet switch
Hide thumbs Also See for DXS-1210-12TC:
Table of Contents

Advertisement

Advertisement

Table of Contents
loading

Summary of Contents for D-Link DXS-1210-12TC

  • Page 2: Table Of Contents

    DHCP Client Commands............................99 DHCP Snooping Commands ..........................104 DHCPv6 Client Commands ..........................113 D-Link Discovery Protocol (DDP) Client Commands ..................114 DoS Prevention Commands ..........................117 Error Recovery Commands ..........................121 Ethernet Ring Protection Switching (ERPS) Commands ................... 125 Filter Database (FDB) Commands ........................
  • Page 3 DXS-1210 Series Smart Managed Switch CLI Reference Guide Surveillance VLAN Commands .......................... 324 Switch Port Commands ............................330 System File Management Commands ....................... 333 System Log Commands ............................. 341 Time and SNTP Commands ..........................346 Time Range Commands ............................ 352 Traffic Segmentation 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: •...
  • Page 5: Command Descriptions

    DXS-1210 Series Smart Managed Switch CLI Reference Guide NOTE: A note indicates important information that helps you make better use of your device. NOTICE: A notice indicates either potential damage to hardware or loss of data and tells you how to avoid the problem.
  • Page 6 DXS-1210 Series Smart Managed Switch CLI Reference Guide • User EXEC Mode • Privileged EXEC Mode • Global Configuration Mode All other sub-configuration modes can be accessed via the Global Configuration Mode. When a user logs in to the Switch, the privilege level of the user determines the command mode the user will enter after initially logging in.
  • Page 7: Global Configuration Mode

    DXS-1210 Series Smart Managed Switch CLI Reference Guide User EXEC Mode at Basic User Level This command mode is mainly designed for checking basic system settings. This command mode can be entered by logging in as a basic user. Privileged EXEC Mode at Operator Level Users logged into the Switch in privileged EXEC mode at this level can change both local and global terminal settings, monitor, and perform system administration tasks (except for security related information).
  • Page 8 CLI interface again, as seen below. DXS-1210-12SC 10GbE Smart Managed Switch Command Line Interface Firmware: Build V1.15.005 Copyright(C) 2017 D-Link Corporation. All rights reserved. User Access Verification Username: admin Password: ***** Switch#...
  • Page 9: Error Messages

    DXS-1210 Series Smart Managed Switch CLI Reference Guide Interface Notation When configuration the physical ports available on this switch, a specific interface notation is used. The following will explain the layout, terminology and use of this notation. In the following example, we will enter the Global Configuration Mode and then enter the Interface Configuration Mode, using the notation 1/0/1.
  • Page 10: Editing Features

    DXS-1210 Series Smart Managed Switch CLI Reference Guide Switch# show verb Invalid input detected at ^marker Switch# Editing Features The command line interface of this switch supports to following keyboard keystroke editing features. Keystroke Description Delete Deletesthe character under the cursor and shifts the remainder of the line to the left.
  • Page 11 DXS-1210 Series Smart Managed Switch CLI Reference Guide Switch# show running-config begin # AAA #------------------------------------------------------------------------ DXS-1210-12SC 10GbE Smart Managed Switch Configuration Firmware: Build V1.15.005 Copyright(C) 2017 D-Link Corporation. All rights reserved. #------------------------------------------------------------------------ # AAA configure terminal no aaa new-model # Dot1x...
  • Page 12 DXS-1210 Series Smart Managed Switch CLI Reference Guide Switch# show running-config exclude # AAA #------------------------------------------------------------------------ DXS-1210-12SC 10GbE Smart Managed Switch Configuration Firmware: Build V1.15.005 Copyright(C) 2017 D-Link Corporation. All rights reserved. #------------------------------------------------------------------------ # Basic # LACP configure terminal lacp system-priority 32768...
  • Page 13: Basic Cli Commands

    DXS-1210 Series Smart Managed Switch CLI Reference Guide 2. Basic CLI Commands 2-1 help This command is used to display a brief description of the help system.Use the help command in any command mode. help Parameters None. Default None. Command Mode EXEC Mode or Any Configuration Mode.
  • Page 14: Configure Terminal

    DXS-1210 Series Smart Managed Switch CLI Reference Guide Switch#help The switch CLI provides advanced help feature. 1. Help is available when you are ready to enter a command argument (e.g. 'show ?') and want to know each possible available options. 2.
  • Page 15 DXS-1210 Series Smart Managed Switch CLI Reference Guide Level: 12. Usage Guideline This command is used to enter the Global Configuration Mode. Example This example shows how to enter into Global Configuration Mode. Switch# configure terminal Switch(config)# 2-3 logout This command is used to close an active terminal session by logging off the Switch. logout Parameters None.
  • Page 16: Show History

    DXS-1210 Series Smart Managed Switch CLI Reference Guide 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. Example This example shows how to end the Interface Configuration Mode and go back to the Privileged EXEC Mode.
  • Page 17: Show Environment

    DXS-1210 Series Smart Managed Switch CLI Reference Guide show history Parameters None. Default None. Command Mode EXEC Mode or Any Configuration Mode. Command Default Level Level: 1. Usage Guideline Commands entered are recorded by the system. A recorded command can be recalled by pressing CTRL+P or the Up Arrow key which will recall previous commands in sequence.
  • Page 18 DXS-1210 Series Smart Managed Switch CLI Reference Guide 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: Temperature Descr/ID Current/Threshold Range...
  • Page 19: Show Cpu Utilization

    DXS-1210 Series Smart Managed Switch CLI Reference Guide Switch#show unit Model Descr Model Name ------------------------------------------- ------------------ No module description DXS-1210-12SC Serial-Number Status Up Time --------------------------------- --------- ----------------- 0DT6H32M18S Memory Total Used Free -------- ---------- ---------- ---------- DRAM 131072 K 66567 K 64505 K FLASH 29937 K...
  • Page 20 DXS-1210 Series Smart Managed Switch CLI Reference Guide show version Parameters None. Default None. Command Mode EXEC Mode or Any Configuration Mode. Command Default Level Level: 1. Usage Guideline This command displays version information about the Switch. Example This example shows how to displays version information about the Switch. Switch#show version System MAC Address: 3C-1E-04-A1-CC-00 Module Name...
  • Page 21 DXS-1210 Series Smart Managed 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 22: Show Privilege

    DXS-1210 Series Smart Managed Switch CLI Reference Guide Switch# configure terminal Switch(config)# environment temperature threshold low 20 Switch(config)# environment temperature threshold high 100 2-13 show privilege This command is used to display current privilege level. show privilege Parameters None. Default None.
  • Page 23: Commands

    DXS-1210 Series Smart Managed Switch CLI Reference Guide 3. 802.1X Commands 3-1 clear dot1x counters This command is used to clear 802.1X counters (diagnostics, statistics and session statistics). clear dot1x counters {all | interface INTERFACE-ID [, | -]} Parameters Specifies to clear 802.1X counters (diagnostics, statistics and session statistics) on all interfaces.
  • Page 24: Dot1X Default

    DXS-1210 Series Smart Managed Switch CLI Reference Guide 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 25 DXS-1210 Series Smart Managed Switch CLI Reference Guide This example shows how to reset the 802.1X parameters on port 1/0/1. Switch# configure terminal Switch(config)#interface eth 1/0/1 Switch(config-if)# dot1x default Switch(config-if)# 3-4 dot1x port-control This command is used to control the authorization state of a port. Use the no form of this command to revert to the default setting.
  • Page 26: Dot1X Initialize

    DXS-1210 Series Smart Managed Switch CLI Reference Guide dot1x forward-pdu no dot1x forward-pdu 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 physical port interface configuration. This command only takes effect when the dot1x authentication function is disabled on the receipt port.
  • Page 27 DXS-1210 Series Smart Managed Switch CLI Reference Guide 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. Switch# dot1x initialize interface eth 1/0/1 Switch# 3-7 dot1x max-req...
  • Page 28 DXS-1210 Series Smart Managed Switch CLI Reference Guide dot1x pae authenticator no dot1x pae authenticator 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 physical port interface configuration. Globally enable IEEE 802.1X authentication on the Switch by using the dot1x system-auth-control command.
  • Page 29: Dot1X Timeout

    DXS-1210 Series Smart Managed Switch CLI Reference Guide None. Command Mode Privileged EXEC Mode. Command Default Level Level: 12. Usage Guideline This command is used to re-authenticate a specific port or a specific MAC address. Example This example shows how to re-authenticate Ethernet port 1/0/1. Switch# dot1x re-authenticate interface eth 1/0/1 Switch# 3-10...
  • Page 30: Show Dot1X

    DXS-1210 Series Smart Managed Switch CLI Reference Guide dot1x timeout {server-timeout SECONDS | supp-timeout SECONDS | tx-period SECONDS} no dot1x timeout {server-timeout | supp-timeout | tx-period} Parameters server-timeout SECONDS Specifies the number of seconds that the Switch will wait for the request from the authentication server before timing out the server.
  • Page 31 DXS-1210 Series Smart Managed Switch CLI Reference Guide the comma. (Optional) Specifies a range of interfaces. No space is allowed before and after the hyphen. Default None. Command Mode EXEC Mode or Any Configuration Mode. Command Default Level Level: 1. Usage Guideline This command can be used to display the global configuration or interface configuration.
  • Page 32: Show Dot1X Statistics

    DXS-1210 Series Smart Managed Switch CLI Reference Guide (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. (Optional) Specifies a range of interfaces. No space is allowed before and after the hyphen.
  • Page 33 DXS-1210 Series Smart Managed Switch CLI Reference Guide 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 34 DXS-1210 Series Smart Managed Switch CLI Reference Guide interfaces will be displayed. (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. (Optional) Specifies a range of interfaces. No space is allowed before and after the hyphen.
  • Page 35 DXS-1210 Series Smart Managed Switch CLI Reference Guide Level: 12. Usage Guideline This command can be used to enable or disable sending SNMP notifications for 802.1X authentication. Example This example shows how to enable sending trap for 802.1X authentication. Switch# configure terminal Switch(config)#snmp-server enable traps dot1x Switch(config)#...
  • Page 36: Access Control List (Acl) Commands

    DXS-1210 Series Smart Managed Switch CLI Reference Guide 4. Access Control List (ACL) Commands 4-1 access-list resequence This command is used to re-sequence the sequence number of the accesslist entries in an accesslist. 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 37 DXS-1210 Series Smart Managed 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)# rule 5 permit tcp any 10.30.0.0 255.255.0.0 Switch(config-ip-ext-acl)# exit Switch(config)# show access-list ip R&D...
  • Page 38 DXS-1210 Series Smart Managed Switch CLI Reference Guide Example This example shows how to enable the ACL hardware counter. Switch# configure terminal Switch(config)#acl-hardware-counter access-group abc Switch(config)# 4-3 clear acl-hardware-counter This command is used to clear the ACL hardware counter. clear acl-hardware-counter access-group [ACCESS-LIST-NAME | ACCESS-LIST-NUMBER] Parameters access-group ACCESS-LIST- Specifies the name of the accesslist to be cleared.
  • Page 39 DXS-1210 Series Smart Managed Switch CLI Reference Guide (Optional) Specifies to filter the incoming packets of the interface. If the direction is not specified, in is used. Default None. Command Mode Interface Configuration Mode. Command Default Level Level: 12. Usage Guideline If expert access group is already configured on the interface, the command applied later will overwrite the previous setting.
  • Page 40 DXS-1210 Series Smart Managed Switch CLI Reference Guide The name must be unique among all access lists. The characters used in the name are case sensitive.If the accesslist number is not specified, the biggest unused number in the range of the expert access list numbers will be assigned automatically.
  • Page 41 DXS-1210 Series Smart Managed Switch CLI Reference Guide This example shows how to specify the IP accesslist “Strict-Control” as an IP access group for an Ethernet port 1/0/2. Switch# configure terminal Switch(config)#interface eth 1/0/2 Switch(config-if)#ip access-group Strict-Control The remaining applicable IP related access entries are 526 Switch(config-if)# 4-7 ip access-list This command is used to create or modify an IP access list.
  • Page 42 DXS-1210 Series Smart Managed Switch CLI Reference Guide 4-8 ipv6 access-group This command is used to specify the IPv6 accesslist to be applied to an interface. Use the no form of this command to remove an IPv6 access list. ipv6 access-group {NAME | NUMBER} [in] no ipv6 access-group [NAME | NUMBER] [in] Parameters NAME...
  • Page 43 DXS-1210 Series Smart Managed Switch CLI Reference Guide access list is an extended IPv6 access list and more fields can be chosen for the filter. NAME Specifies the name of the IPv6 accesslist to be configured. The maximum length is 32 characters. NUMBER Specifies the ID number of the IPv6 access list.
  • Page 44 DXS-1210 Series Smart Managed Switch CLI Reference Guide Command Default Level Level: 12. Usage Guideline This command is available in the MAC, IP, IPv6, and Expert Access-list Configure mode. Example This example shows how to add a remark to the access-list. Switch# configure terminal Switch(config)#ip access-list extended R&D Switch(config-ip-ext-acl)# list-remark “This access-list is used to match any IP...
  • Page 45 DXS-1210 Series Smart Managed Switch CLI Reference Guide This example shows how to apply the MAC accesslist daily-profile to Ethernet port 5/0/1. Switch# configure terminal Switch(config)#interface eth 1/0/1 Switch(config-if)# mac access-group daily-profile in The remaining applicable MAC access entries are 204 Switch(config-if)# 4-12 mac access-list...
  • Page 46 DXS-1210 Series Smart Managed Switch CLI Reference Guide any} {DST-IP-ADDR DST-IP-WILDCARD | host DST-IP-ADDR | any} {DST-MAC-ADDR DST- MAC-WILDCARD | host DST-MAC-ADDR | any} [cos OTER-COS] [vlan OUTER-VLAN] [fragments] [[precedence PRECEDENCE] [tos TOS] | dscp DSCP] [time-range PROFILE- NAME] rule [SEQUENCE-NUMBER] {permit | deny} tcp {SRC-IP-ADDR SRC-IP-WILDCARD | host SRC-IP-ADDR | any} {SRC-MAC-ADDR SRC-MAC-WILDCARD | host SRC-MAC-ADDR | any} [{eq | lt | gt | neq} PORT | range MIN-PORT MAX-PORT] {DST-IP-ADDR DST-IP-WILDCARD | host DST-IP-ADDR | any} {DST-MAC-ADDR DST-MAC-WILDCARD | host DST-MAC-ADDR |...
  • Page 47 DXS-1210 Series Smart Managed Switch CLI Reference Guide tos TOS (Optional) Specifies that packets can be filtered by type of service level, as specified by a number from 0 to 15. dscp DSCP (Optional) Specifies the matching DSCP code in IP header. The range is from 0 to 63, or select the following DSCP name: af11 - 001010, af12 -001100, af13 - 001110, af21 - 010010, af22 - 010100, af23 - 010110, af31 - 011010, af32 - 011100, af33 - 011110, af41 - 100010,...
  • Page 48 DXS-1210 Series Smart Managed Switch CLI Reference Guide The sequence number must be unique in the domain of an access-list. If you enter a sequence number that is already present, an error message will be shown. Example This example shows how to use the extended expert ACL. The purpose is to deny all the TCP packets with the source IP address 192.168.4.12 and the source MAC address 00:13:00:49:82:72.
  • Page 49 DXS-1210 Series Smart Managed Switch CLI Reference Guide host SRC-IP-ADDR Specifies a specific source host IP address. SRC-IP-ADDR SRC-IP- Specifies a group of source IP addresses by using a wildcard bitmap. WILDCARD The bit corresponding to the bit value 1 will be ignored. The bit corresponding to the bit value 0 will be checked.
  • Page 50 DXS-1210 Series Smart Managed Switch CLI Reference Guide None. Command Mode IP 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. If it is the first entry, the sequence number 10 is assigned. A subsequent rule entry will be assigned a sequence number that is 10 greater than the largest sequence number in that access list and is placed at the end of the list.
  • Page 51 DXS-1210 Series Smart Managed Switch CLI Reference Guide PORT MAX-PORT] [TCP-FLAG] [dscp VALUE] [flow-label FLOW-LABEL] [time-range PROFILE-NAME] rule [SEQUENCE-NUMBER] {permit | deny} udp {any | host SRC-IPV6-ADDR | SRC-IPV6- ADDR/PREFIX-LENGTH} [{eq | lt | gt | neq} PORT | range MIN-PORT MAX-PORT] {any | host DST-IPV6-ADDR | DST-IPV6-ADDR/PREFIX-LENGTH} [{eq | lt | gt | neq} PORT | range MIN- PORT MAX-PORT] [dscp VALUE] [flow-label FLOW-LABEL] [time-range PROFILE-NAME] rule [SEQUENCE-NUMBER] {permit | deny} icmp {any | host SRC-IPV6-ADDR | SRC-IPV6-...
  • Page 52 DXS-1210 Series Smart Managed Switch CLI Reference Guide ICMP-CODE (Optional)Specifies the ICMP message code. The valid number of the code type is from 0 to 255. ICMP-MESSAGE (Optional) Specifies the ICMP message. The following pre-defined parameters are available for selection: beyond-scope, destination- unreachable, echo-reply, echo-request, erroneous_header, hop-limit, multicast-listener-query, multicast-listener-done, multicast-listener- report, nd-na, nd-ns, next-header, no-admin, no-route, packet-too-big,...
  • Page 53 DXS-1210 Series Smart Managed Switch CLI Reference Guide This example shows how to create two entries for an IPv6 standard access-list named “ipv6-std- control”. These entries are: permit IP packets destined to network ff02::0:2/16, and permit IP packets destined to host ff02::1:2. Switch# configure terminal Switch(config)#ipv6 access-list ipv6-std-control Switch(config-ipv6-acl)# rule permit any ff02::0:2/16...
  • Page 54 DXS-1210 Series Smart Managed Switch CLI Reference Guide If a rule entry is created without a sequence number, a sequence number will be automatically assigned. If it is the first entry, the sequence number 10 is assigned. A subsequent rule entry will be assigned a sequence number that is 10 greater than the largest sequence number in that access list and is placed at the end of the list.
  • Page 55 DXS-1210 Series Smart Managed Switch CLI Reference Guide Switch# show access-group eth1/0/1: Inbound mac access-list : simple-mac-acl(ID: 7998) Inbound ip access-list : simple-ip-acl(ID: 1998) Switch# 4-18 show access-list This command is used to display the accesslist configuration information. show access-list [ip [NAME | NUMBER] | mac [NAME | NUMBER] | ipv6 [NAME | NUMBER] | expert [NAME | NUMBER] | arp [NAME]] Parameters (Optional) Specifies to display a listing of all IP accesslists.
  • Page 56 DXS-1210 Series Smart Managed Switch CLI Reference Guide Switch# show access-list Access-List-Name Type -------------------------------------- --------------- simple-ip-acl(ID: 3998) ip ext-acl simple-rd-acl(ID: 3999) ip ext-acl rd-mac-acl(ID: 6998) mac ext-acl rd-ip-acl(ID: 1998) ip acl ip6-acl(ID: 12999) ipv6 ext-acl park-arp-acl arp acl Total Entries: 6 Switch# This example shows how to display the IP accesslist called R&D.
  • Page 57: Access Management Commands

    DXS-1210 Series Smart Managed Switch CLI Reference Guide 5. Access Management Commands 5-1 access class This command is used to specify an access list to restrict the access via a line.Use the no form of this command to remove the specified access list check. access-class IP-ACL no access-class IP-ACL Parameters...
  • Page 58 DXS-1210 Series Smart Managed Switch CLI Reference Guide By default, this option is enabled. Command Mode Global Configuration Mode. Command Default Level Level: 12. Usage Guideline This command enables the HTTP server function. The HTTPs access interface is separately controlled by SSL commands. Example This example shows how to enable the HTTP server.
  • Page 59 DXS-1210 Series Smart Managed Switch CLI Reference Guide 5-4 ip http access-class This command is used to specify an access list to restrict the access to the HTTP server. Use the no form of this command to remove the access list check. ip http access-class IP-ACL no ip http access-class IP-ACL Parameters...
  • Page 60: Ip Telnet Server

    DXS-1210 Series Smart Managed Switch CLI Reference Guide Command Mode Global Configuration Mode. Command Default Level Level: 12. Usage Guideline This command configures the TCP port number for the HTTP server. Example This example shows how to configure theHTTP TCP port number to 8080. Switch# configure terminal Switch(config)# ip http service-port 8080 Switch(config)#...
  • Page 61 DXS-1210 Series Smart Managed Switch CLI Reference Guide Parameters None. Default By default, this option is enabled. 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.
  • Page 62 DXS-1210 Series Smart Managed Switch CLI Reference Guide 5-9 line This command is used to identify a line type for configuration and enter line configuration mode. line {console | telnet } Parameters console Specifies the local console terminal line. telnet Specifies the Telnet terminal line Default None.
  • Page 63: Show Terminal

    DXS-1210 Series Smart Managed 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. When the service password encryption option is disabled and the password is specified in the plain text form, the password will be in plain text form.
  • Page 64 DXS-1210 Series Smart Managed Switch CLI Reference Guide Switch# show terminal Terminal Settings: Length: 25 lines Width: 80 columns Default Length: 25 lines Default Width: 80 columns Baud rate: 115200 bps Switch# 5-12 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 65: Show Users

    DXS-1210 Series Smart Managed Switch CLI Reference Guide 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 66: Terminal Length

    DXS-1210 Series Smart Managed Switch CLI Reference Guide 5-15 terminal length The command is used to configure the number of lines displayed on the screen. The terminal length command will only affect the current session. The terminal length defaultcommand will set the default value but it doesn’t affect the current session.
  • Page 67: Terminal Width

    DXS-1210 Series Smart Managed Switch CLI Reference Guide MINUTES Specifies the timeout length in minutes. 0 represents never timeout. Default By default, this value is 3 minutes. Command Mode Line Configuration Mode. Command Default Level Level: 12. Usage Guideline This timer specifies the timeout for auto-logout sessions established by the line that is being configured.
  • Page 68 DXS-1210 Series Smart Managed Switch CLI Reference Guide Example This example shows how to adjust the current session terminal width to 120 characters. Switch# show terminal Terminal Settings: Length: 25 lines Width: 80 columns Default Length: 25 lines Default Width: 80 columns Baud rate: 115200 bps Switch# terminal width 120 Switch# show terminal...
  • Page 69 DXS-1210 Series Smart Managed Switch CLI Reference Guide Default By default, the user name is admin, password is admin, and the privilege level is 15. Command Mode Global Configuration Mode. Command Default Level Level: 15. Usage Guideline This command creates user accounts with different access levels. When the user login with Level 1, the user will be in the User EXEC Mode.
  • Page 70 DXS-1210 Series Smart Managed Switch CLI Reference Guide This command displays information about the user accounts created on the Switch. Example This example shows how to display all user accounts information. Switch# show user-account User Name Privilege Password Password Type ------------------ --------- --------...
  • Page 71 DXS-1210 Series Smart Managed Switch CLI Reference Guide EXEC Mode or Any Configuration Mode. Command Default Level Level: 1. Usage Guideline This command displays information about the session-timeout. Example This example shows how to display session-timeout. Switch# show session-timeout Web Session Timeout (second): 36000 Telnet Session Timeout (minute): 30...
  • Page 72 DXS-1210 Series Smart Managed Switch CLI Reference Guide ping access-class IP-ACL no ping access-class IP-ACL Parameters IP-ACL Specifies a standard IP access list. The source address field of the permit or deny entry define the valid or invalid host. Default None.
  • Page 73 DXS-1210 Series Smart Managed Switch CLI Reference Guide Usage Guideline This command is used to specify an access list to restrict the access to the HTTPS server. Use the no form of the command to remove the access list check. Example This example shows how a standard IP access list is created and is specified as the access list to restrict the access to the HTTPS server.Only the host 226.1.1.1 is allowed to access the server.
  • Page 74: Asymmetric Vlan Commands

    DXS-1210 Series Smart Managed Switch CLI Reference Guide 6. Asymmetric VLAN Commands 6-1 asymmetric-vlan This command is used to enable the asymmetric VLAN function. Use the no form of this command to disable the asymmetric VLAN function. asymmetric-vlan no asymmetric-vlan Parameters None.
  • Page 75 DXS-1210 Series Smart Managed Switch CLI Reference Guide Usage Guideline This command displays asymmetric VLAN information. Example This example shows how to display asymmetric VLAN information. Switch# show asymmetric-vlan Asymmetric VLAN State: Disabled Switch#...
  • Page 76: Authentication, Authorization, And Accounting (Aaa) Commands

    DXS-1210 Series Smart Managed Switch CLI Reference Guide 7. Authentication, Authorization, and Accounting (AAA) Commands 7-1 aaa authentication dot1x This command is used to configure the default method list used for 802.1X authentication. Use the no form of this command toremove the default method list. aaa authentication dot1x default METHOD1 [METHOD2...] no aaa authentication dot1x default Parameters...
  • Page 77 DXS-1210 Series Smart Managed Switch CLI Reference Guide no aaa group server radius GROUP-NAME Parameters GROUP-NAME Specifiesthe 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 78 DXS-1210 Series Smart Managed Switch CLI Reference Guide Use this command to enable AAA before the authentication and accounting via the AAA method lists take effect. If AAA is disabled, the login user will be authenticated via the local user account table created by the username command.
  • Page 79 DXS-1210 Series Smart Managed Switch CLI Reference Guide no radius-server host {IP-ADDRESS | IPV6-ADDRESS} Parameters IP-ADDRESS Specifies the IP address of the RADIUS server. IPV6-ADDRESS Specifies the IPv6 address of the RADIUS server. auth-port PORT-NUMBER (Optional) Specifies the UDP destination port number for sending authentication packets.
  • Page 80 DXS-1210 Series Smart Managed Switch CLI Reference Guide Use this command to enter the RADIUS group server configuration mode. Use the server command to associate the RADIUS server hosts with the RADIUS server group. The defined server group can be specified as the method list for authentication, or accounting via the AAA authentication and AAA accounting command.
  • Page 81: Show Aaa

    DXS-1210 Series Smart Managed 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)#aaa group server tacacs+ group2 Switch(config-sg-tacacs+)# server 172.19.10.100 Switch(config-sg-tacacs+)# server 172.19.122.3 Switch(config-sg-tacacs+)# exit Switch(config)# 7-8 show aaa...
  • Page 82 DXS-1210 Series Smart Managed Switch CLI Reference Guide Privilege EXEC Mode or Any Configuration Mode. 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 radius statistics RADIUS Server: 172.19.192.80: Auth-Port 1645 Auth.
  • Page 83 DXS-1210 Series Smart Managed Switch CLI Reference Guide Bad Authenticators The number of RADIUS Response packets containing invalid authenticators or Signature attributes received from this server. Pending Requests The number of RADIUS Request packets destined for this server that have not yet timed out or received a response. This variable is incremented when a Request is sent and decremented due to receipt of a Response, a timeout or retransmission.
  • Page 84: Basic Ipv4 Commands

    DXS-1210 Series Smart Managed Switch CLI Reference Guide 8. Basic IPv4 Commands 8-1 arp This command is used to add a static entry in the Address Resolution Protocol (ARP) cache. Use the no form of this command to remove a static entry in the ARP cache. arp IP-ADDRESS HARDWARE-ADDRESS no arp IP-ADDRESS HARDWARE-ADDRESS Parameters...
  • Page 85 DXS-1210 Series Smart Managed 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 86: Show Arp

    DXS-1210 Series Smart Managed Switch CLI Reference Guide 8-4 ip address This command is used to set a primary or secondary IPv4 address for an interface, or acquire an IP address on an interface from the DHCP. Use the no form of this command to remove the configuration of an IP address or disable DHCP on the interface.
  • Page 87 DXS-1210 Series Smart Managed Switch CLI Reference Guide IP-ADDRESS [MASK] (Optional) Specifies to display a specific entry or entries that belong to a specific network. INTERFACE-ID (Optional) Specifies to display ARP entries that are associated with a specific network. HARDWARE-ADDRESS (Optional) Specifies to display ARP entries whose hardware address equal to this address.
  • Page 88: Show Ip Interface

    DXS-1210 Series Smart Managed Switch CLI Reference Guide Example This example shows how to display the ARP aging time. Switch#show arp timeout Interface Timeout (minutes) ------------ ----------------- vlan1 ------------ ----------------- Total Entries:1 Switch# 8-7 show ip interface This command is used to display the IP interface information. show ip interface [INTERFACE-ID] [brief] Parameters INTERFACE-ID...
  • Page 89 DXS-1210 Series Smart Managed Switch CLI Reference Guide Switch#show ip interface Interface vlan1 is enabled, Link status is up IP Address is 10.90.90.90/8 (Manual) ARP timeout is 20 minutes. Total Entries: 1 Switch# 8-8 ip enable 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.
  • Page 90: Basic Ipv6 Commands

    DXS-1210 Series Smart Managed Switch CLI Reference Guide 9. Basic IPv6 Commands 9-1 clear ipv6 neighbors This command is used to clear IPv6 neighbor cache dynamic entries. clear ipv6 neighbors {all | INTERFACE-ID} Parameters Specifies to clear the dynamic neighbor cache entries associated with all interfaces.
  • Page 91 DXS-1210 Series Smart Managed Switch CLI Reference Guide Interface Configuration Mode. Command Default Level Level: 12. Usage Guideline The IPv6 address can directly be specified by the user or configured based on a general prefix. The general prefix can be acquired by the DHCPv6 client. The general prefix does not need to exist before it can be used in the ipv6 address command.
  • Page 92: Ipv6 Enable

    DXS-1210 Series Smart Managed Switch CLI Reference Guide Use this command to configure the interface to use DHCPv6 to get an IPv6 address. When the no ipv6 address dhcp command is used, the previous DHCPv6 obtained IP address will be removed. If the rapid commit keyword is specified for the command, the rapid commit option will be included in the solicit message to request for the two-message exchange for address delegation.
  • Page 93: Show Ipv6 Interface

    DXS-1210 Series Smart Managed Switch CLI Reference Guide ipv6 neighbor IPV6-ADDRESS INTERFACE-ID MAC-ADDRESS no ipv6 neighbor IPV6-ADDRESS INTERFACE-ID 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.
  • Page 94: Show Ipv6 Neighbors

    DXS-1210 Series Smart Managed Switch CLI Reference Guide Use this command to display IPv6 interface related configurations. Example This example shows how to display IPv6 interface information. Switch# show ipv6 interface vlan 2 vlan2 is up, Link status is down IPv6 is enabled, link-local address: FE80::201:1FF:FE02:305...
  • Page 95 DXS-1210 Series Smart Managed Switch CLI Reference Guide Use this command to display the IPv6 neighbor cache entry. 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...
  • Page 96 DXS-1210 Series Smart Managed Switch CLI Reference Guide Switch# configure terminal Switch(config)# interface vlan 1 Switch(config-if)# ipv6 nd ns-interval 1200 Switch(config-if)#...
  • Page 97: Cable Diagnostics Commands

    DXS-1210 Series Smart Managed Switch CLI Reference Guide 10. Cable Diagnostics Commands 10-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 98 DXS-1210 Series Smart Managed 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 99 DXS-1210 Series Smart Managed Switch CLI Reference Guide 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 100: Debug Commands

    #--------------------------------------------------------------------- # DXS-1210-12SC 10GbE Smart Managed Switch # Technical Support Information # Firmware: V1.15.005 # Copyright(C) 2017 D-Link Corporation. All rights reserved. #--------------------------------------------------------------------- ******************** Basic System Information ******************** Boot Time :0 days, 3 hrs, 21 min, 35 secs RTC Time...
  • Page 101 DXS-1210 Series Smart Managed Switch CLI Reference Guide 11-2 debug show cpu utilization This command is used to display the total CPU utilization. debug show cpu utilization Parameters None. Default None. Command Mode Privileged EXEC Mode or Any Configuration Mode. Command Default Level Level: 15.
  • Page 102: Dhcp Client Commands

    DXS-1210 Series Smart Managed Switch CLI Reference Guide 12. DHCP Client Commands 12-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 103: Ip Dhcp Client Hostname

    DXS-1210 Series Smart Managed Switch CLI Reference Guide INTERFACE-ID Specifies the VLAN interface, whose hexadecimal MAC address will be used as the client ID to be sent with the discover message. Default The MAC address of the VLANwill be used as the client ID. Command Mode Interface Configuration Mode.
  • Page 104: Ip Dhcp Client Lease

    DXS-1210 Series Smart Managed Switch CLI Reference Guide Example This example shows how to set the host name option value to Site-A-Switch. Switch# configure terminal Switch(config)#interface vlan 100 Switch(config-if)# ip dhcp client hostname Site-A-Switch Switch(config-if)# 12-4 ip dhcp client lease This command is used to specify the preferred lease time for the IP address to request from the DHCP server.
  • Page 105 DXS-1210 Series Smart Managed Switch CLI Reference Guide no dhcp retry times Parameters <(5-120)> Specifies the DHCP retry times. Default Command Mode Global Configuration Mode.. Command Default Level Level: 12. Usage Guideline This command is used to specify the DHCP retry times. Example This example shows how to set DHCP retry times.
  • Page 106 DXS-1210 Series Smart Managed Switch CLI Reference Guide Switch(config)# show dhcp retry times DHCP Retry Times: 10 Note: DHCP retry interval: 5 seconds Switch(config)# 12-7 show ip dhcp interface This command is used to display the DHCP related settings on the interface. show ip dhcp interface [INTERFACE-ID] Parameters INTERFACE-ID...
  • Page 107: Dhcp Snooping Commands

    DXS-1210 Series Smart Managed Switch CLI Reference Guide 13. DHCP Snooping Commands 13-1 ip dhcp snooping trust This command is used to configure a port as a trusted interface for DHCP snooping. Use the no form of this command to revert to the default setting. ip dhcp snooping trust no ip dhcp snooping trust Parameters...
  • Page 108 DXS-1210 Series Smart Managed Switch CLI Reference Guide 13-2 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 CLIENT-HARDWARE- (Optional) Specifies the MAC address of the client. ADDRESS Default None.
  • Page 109 DXS-1210 Series Smart Managed Switch CLI Reference Guide Level: 12. Usage Guideline Use this command to clear the server screen log buffer. The DHCP server screen log buffer keeps tracks the information of packet that does not pass the screening. The first packet that violates the check will be sent to log module and recorded in the server screen log buffer.
  • Page 110 DXS-1210 Series Smart Managed Switch CLI Reference Guide Parameters SERVER-IP-ADDRESS (Optional) Specifies the trust DHCP sever IP address. profile PROFILE-NAME (Optional) Specifies the profile with the client MAC address list for the DHCP sever. Default None. Command Mode Interface Configuration Mode. Command Default Level Level: 12.
  • Page 111 DXS-1210 Series Smart Managed Switch CLI Reference Guide NUMBER Specifies the buffer entry number. The maximum number is 1024. Default By default, this value is 32. Command Mode Global Configuration Mode. Command Default Level Level: 12. Usage Guideline Use this command to configure the maximum entry number of the log buffer. The DHCP server screen log buffer keeps tracks of the information of packets that did not pass the screening.
  • Page 112 DXS-1210 Series Smart Managed Switch CLI Reference Guide 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 10-22-33-44-50-60 06:31:42, 2014-03-10 Total Entries: 2 Switch# 13-8 snmp-server enable traps dhcp-server-screen...
  • Page 113 DXS-1210 Series Smart Managed Switch CLI Reference Guide Default None. Command Mode EXEC Mode or Any Configuration Mode. Command Default Level Level: 1. Usage Guideline This command displays information about the DHCP server screening profile settings. Example This example shows how to display DHCP server screening profile settings. Switch# show dhcp-server-screen profile Profile Name Client MAC...
  • Page 114 DXS-1210 Series Smart Managed Switch CLI Reference Guide Switch# show dhcp-server-screen profile Profile Name Client MAC -------------------------------- ----------------- campus 00-08-01-02-03-04 campus 00-08-01-03-00-01 Total Entries: 2 Switch# 13-11 show snmp-server traps dhcp-server-screen This command is used to display the DHCP server screen SNMP trap state. show snmp-server traps dhcp-server-screen Parameters None.
  • Page 115 DXS-1210 Series Smart Managed Switch CLI Reference Guide before and after the hyphen. Default None. Command Mode EXEC Mode or Any Configuration Mode. Command Default Level Level: 1. Usage Guideline This command displays information about the DHCP server screening interface settings. Example This example shows how to display DHCP server screening interface settings.
  • Page 116: Dhcpv6 Client Commands

    DXS-1210 Series Smart Managed Switch CLI Reference Guide 14. DHCPv6 Client Commands 14-1 show ipv6 dhcp This command is used to display the DHCPv6 related settings on the interface. show ipv6 dhcp interface [INTERFACE-ID] Parameters INTERFACE-ID (Optional) Specifies the VLAN interface to display the DHCPv6 related settings.
  • Page 117: D-Link Discovery Protocol (Ddp) Client Commands

    DXS-1210 Series Smart Managed Switch CLI Reference Guide 15. D-Link Discovery Protocol (DDP) Client Commands 15-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 118 DXS-1210 Series Smart Managed 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 Never.
  • Page 119 DXS-1210 Series Smart Managed 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 120: Dos Prevention Commands

    DXS-1210 Series Smart Managed Switch CLI Reference Guide 16. DoS Prevention Commands 16-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 121 DXS-1210 Series Smart Managed Switch CLI Reference Guide • TCP-tiny-frag: Tiny TCP Fragment attacker uses the IP fragmentation to create extremely small fragments and force the TCP header information into a separate packet fragment to pass through the check function of the router and issue an attack. •...
  • Page 122 DXS-1210 Series Smart Managed 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 TCP Tiny Fragment Attack...
  • Page 123 DXS-1210 Series Smart Managed Switch CLI Reference Guide Switch#configure terminal Switch(config)# snmp-server enable traps dos-prevention Switch(config)#...
  • Page 124: Error Recovery Commands

    DXS-1210 Series Smart Managed Switch CLI Reference Guide 17. Error Recovery Commands 17-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 125: Show Errdisable Recovery

    DXS-1210 Series Smart Managed 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)# 17-2 show errdisable recovery This command is used to display the error-disable recovery timer related settings.
  • Page 126 DXS-1210 Series Smart Managed Switch CLI Reference Guide 17-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 127 DXS-1210 Series Smart Managed 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 verify the settings of the SNMP notifications for error disabled state. Example This example shows how to display the settings of the SNMP notifications for error disabled state.
  • Page 128: Ethernet Ring Protection Switching (Erps) Commands

    DXS-1210 Series Smart Managed Switch CLI Reference Guide 18. Ethernet Ring Protection Switching (ERPS) Commands For more information, refer to Appendix E - ERPS Information. 18-1 description This command is used to configure the description for Ethernet Ring Protection (ERP) instances. description DESCRIPTION no description DESCRIPTION Parameters...
  • Page 129 DXS-1210 Series Smart Managed Switch CLI Reference Guide Global Configuration Mode. Command Default Level Level: 12. Usage Guideline This command is used to create, modify or delete an ITU-T G.8032 ERP physical ring and enter the ERP configuration mode. Example This example shows how to create an ERP ring named “campus”.
  • Page 130 DXS-1210 Series Smart Managed Switch CLI Reference Guide Parameters VLAN-ID Specifies the VLAN ID. The valid values are from 1 to 4094. Default None. Command Mode ERP Instance Configuration Mode. Command Default Level Level: 12. Usage Guideline This command is used to assign the APS channel VLAN for an ERP instance. The APS channel VLAN needs to be assigned before an ERP instance can be set to the operation state.
  • Page 131 DXS-1210 Series Smart Managed Switch CLI Reference Guide Level: 12. Usage Guideline This command is used to add or delete VLAN IDs protected by the ERP mechanism. Example This example shows how toconfigure service protected VLAN as 100-200 for ERP instance 1. Switch#configure terminal Switch(config)# erps instance 1 Switch(config-erp-instance)#inclusion-list vlan-ids 100-200...
  • Page 132 DXS-1210 Series Smart Managed Switch CLI Reference Guide Parameters MEL-VALUE Specifies the ring MEL of the specified ERP instance. The valid values are from 0 to 7. Default By default, the value is 1. Command Mode ERP Instance Configuration Mode. Command Default Level Level: 12.
  • Page 133 DXS-1210 Series Smart Managed Switch CLI Reference Guide Switch#configure terminal Switch(config)# erps instance 1 Switch(config-erp-instance)#profile campus Switch(config-erp-instance)# 18-9 port0 This command is used to specify the first ring port of a physical ring. Use the no form of this command to remove the settings. port0 interface INTERFACE-ID Parameters INTERFACE-ID...
  • Page 134 DXS-1210 Series Smart Managed Switch CLI Reference Guide ERP Configuration Mode. Command Default Level Level: 12. Usage Guideline This command is used to specify or remove the first ring port of a physical ring. Example This example shows how to configure the inter-connect node as a local end node of the G.8032 ring “ring2”.
  • Page 135 DXS-1210 Series Smart Managed Switch CLI Reference Guide 18-12 This command is used to configure the node as the RPL owner, or assign the port as the RPL port.Use the no form of this command to remove the settings. rpl {port0 | port1} [owner] no rpl Parameters port0...
  • Page 136 DXS-1210 Series Smart Managed Switch CLI Reference Guide Level: 1. Usage Guideline This command is used to display information of the ERP instances. Example This example shows how to display the detailed information of the ERP instances. Switch#show ethernet ring g8032 status Ethernet ring ring2,instance 0 ----------------------------------------- Description:...
  • Page 137 DXS-1210 Series Smart Managed Switch CLI Reference Guide Switch#show ethernet ring g8032 brief Profile Inst Status Port-State -------------------------------- --- ----------- ------------------- Deactivated p0:-,Forwarding p1:-,Forwarding Deactivated p0:-,Forwarding p1:-,Forwarding campus Deactivated p0:eth1/0/1,Forwarding(RPL) p1:-,Forwarding Deactivated p0:-,Forwarding p1:-,Forwarding Total Entries: 4 Switch# Display Parameters Ring MEL value of ERP instance.
  • Page 138 DXS-1210 Series Smart Managed Switch CLI Reference Guide 18-14 activate This command is used to activate the specified ERP instance.Use the no form of this command to deactivate the specified ERP instance. activate no activate Parameters None. Default By default, this option is no activate. Command Mode ERP Instance Configuration Mode.
  • Page 139 DXS-1210 Series Smart Managed Switch CLI Reference Guide Default The default guard timer is 500 milliseconds. The default hold-off timer is 0 second. The default WTR timer is 5 minutes. Command Mode G.8032 Profile Configuration Mode. Command Default Level Level: 12. Usage Guideline This command is used to configure timers for an ERP domain.
  • Page 140: Filter Database (Fdb) Commands

    DXS-1210 Series Smart Managed Switch CLI Reference Guide 19. Filter Database (FDB) Commands 19-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 141 DXS-1210 Series Smart Managed 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 142 DXS-1210 Series Smart Managed Switch CLI Reference Guide 19-4 mac-address-table learning This command is used to enable MACaddress 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 143 DXS-1210 Series Smart Managed Switch CLI Reference Guide (Optional)Specifies a series of interfaces, or separate a range of interfaces from a previous range. No spacesare allowed before and after the comma. (Optional)Specifies a range of interfaces. No spacesare allowed before and after the hyphen.
  • Page 144 DXS-1210 Series Smart Managed Switch CLI Reference Guide forward-all Specifies to flood all multicast packets based on the VLAN domain. forward-unregistered Specifies to forward registered multicast packets based on the forwarding table and flood all unregistered multicast packets based on the VLAN domain.
  • Page 145 DXS-1210 Series Smart Managed Switch CLI Reference Guide Usage Guideline If the option interface is specified, the unicast entry that has the forwarding interface matches the specified interface will be displayed Example This example shows how to display all the MAC address table entries for the MAC address 00-02-4b- 28-c4-82.
  • Page 146 DXS-1210 Series Smart Managed 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.
  • Page 147 DXS-1210 Series Smart Managed Switch CLI Reference Guide Switch# show mac-address-table learning interface ethernet 1/0/1-10 Port 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# 19-10 show multicast filtering-mode This command is used to display the filtering mode for handling multicast packets that are received on...
  • Page 148: Igmp Snooping Commands

    DXS-1210 Series Smart Managed Switch CLI Reference Guide 20. IGMP Snooping Commands 20-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} Parameters Specifies to clear IP IGMP snooping statistics for all VLANs and all ports.
  • Page 149 DXS-1210 Series Smart Managed Switch CLI Reference Guide 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 150: Ip Igmp Snooping Mrouter

    DXS-1210 Series Smart Managed Switch CLI Reference Guide Switch# configure terminal Switch(config)#vlan 1 Switch(config-vlan)# ip igmp snooping fast-leave Switch(config-vlan)# 20-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 151: Ip Igmp Snooping Querier

    DXS-1210 Series Smart Managed 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 152 DXS-1210 Series Smart Managed Switch CLI Reference Guide Level: 12. Usage Guideline This command is only available for VLAN interface configuration. If the system can play the querier role, the entity will listen for IGMP query packets sent by other devices. If IGMP query message is received, the device with lower value of IP address becomes the querier.
  • Page 153 DXS-1210 Series Smart Managed Switch CLI Reference Guide ip igmp snooping query-max-response-time SECONDS no ip igmp snooping query-max-response-time Parameters SECONDS Specifies to set the maximum response time, in seconds, advertised in IGMP snooping queries. The range is 1 to 25. Default By default, this value is 10 seconds.
  • Page 154 DXS-1210 Series Smart Managed Switch CLI Reference Guide This command is only available for VLAN interface configuration. The query version number setting will affect the querier electing. When configured to version 1, IGMP snooping will always act as the querier, and will not initiate new querier electing no matter what IGMP query packet is received. When configured to version 2 or version 3, IGMP snooping will initiate a new querier electing if any IGMPv2 or IGMPv3 query packet is received.
  • Page 155: Show Ip Igmp Snooping

    DXS-1210 Series Smart Managed Switch CLI Reference Guide Switch# configure terminal Switch(config)#vlan 1000 Switch(config-vlan)# ip igmp snooping robustness-variable 3 Switch(config-vlan)# 20-11 ip igmp snooping static-group This command is used to configure an IGMP snooping static group. Use the no form of this command is used to delete a static group.
  • Page 156: Show Ip Igmp Snooping Groups

    DXS-1210 Series Smart Managed Switch CLI Reference Guide Parameters vlan VLAN-ID (Optional) Specifies the VLAN to be displayed. 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 157: Show Ip Igmp Snooping Mrouter

    DXS-1210 Series Smart Managed 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 158: Show Ip Igmp Snooping Statistics

    DXS-1210 Series Smart Managed 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# 20-15 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 159 DXS-1210 Series Smart Managed Switch CLI Reference Guide show ip igmp snooping statistics vlan [VLAN-ID] Parameters vlan VLAN-ID Specifies the VLAN ID to display VLAN statistics. Default None. Command Mode EXEC Mode or Any Configuration Mode. Command Default Level Level: 1. Usage Guideline This command displays the IGMP snooping related statistics information.
  • Page 160: Interface Commands

    DXS-1210 Series Smart Managed Switch CLI Reference Guide 21. Interface Commands 21-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 161 DXS-1210 Series Smart Managed Switch CLI Reference Guide The specified description corresponds to the MIB object “ifAlias” defined in the RFC2233. Example This example shows how to add the description “Physical Port 10” to interface eth 1/0/10. Switch# configure terminal Switch(config)# interface eth 1/0/10 Switch(config-if)# description "Physical Port 10"...
  • Page 162: Interface Range

    DXS-1210 Series Smart Managed Switch CLI Reference Guide This example shows how to enter the interface configuration mode for the interface eth 1/0/5. Switch# configure terminal Switch(config)#interface eth 1/0/5 Switch(config-if)# This example shows how to enter the interface configuration mode for VLAN 100. Switch# configure terminal Switch(config)#interface vlan 100 Switch(config-if)#...
  • Page 163 DXS-1210 Series Smart Managed Switch CLI Reference Guide Switch# configure terminal Switch(config)# interface range ethernet 1/0/2-5,1/0/7 Switch(config-if-range)# This example shows how to enter combo sfp port interface configuration mode for the range of ports 1/0/11 to 1/0/12 Switch# configure terminal Switch(config)# interface combo fiber range ethernet 1/0/11-12 Switch(config-if-combo-range)# 21-5...
  • Page 164 DXS-1210 Series Smart Managed 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 : 982...
  • Page 165: Show Interfaces

    DXS-1210 Series Smart Managed Switch CLI Reference Guide dot3StatsExcessiveCollisions dot3StatsInternalMacTransmitErrors : 0 dot3StatsCarrierSenseErrors dot3StatsInternalMacReceiveErrors linkChange Switch# 21-6 show interfaces This command is used to display the interface information. show interfaces [INTERFACE-ID [- | ,]] Parameters INTERFACE-ID (Optional) Specifies that the interface can be a physical port, VLAN, or other.
  • Page 166: Show Interfaces Counters

    DXS-1210 Series Smart Managed 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 167 DXS-1210 Series Smart Managed 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 5387265...
  • Page 168: Show Interfaces Status

    DXS-1210 Series Smart Managed Switch CLI Reference Guide Switch# Switch# show interfaces ethernet 1/0/1-8 counters errors Port Align-Err Fcs-Err UnderSize OutDiscard Carri-Sen --------- -------- --------- ---------- ---------- ------- eth1/0/1 eth1/0/2 eth1/0/3 eth1/0/4 eth1/0/5 eth1/0/6 eth1/0/7 eth1/0/8 Port Single-Col Multi-Col Late-Col Excess-Col SQETest-Err ---------...
  • Page 169 DXS-1210 Series Smart Managed Switch CLI Reference Guide EXEC Mode or Any Configuration Mode. Command Default Level Level: 1. Usage Guideline This command displaysthe Switch’s port connection status. Example This example shows how to display the Switch’s port connection status. Switch# show interfaces ethernet 1/0/1-8 status Port Status...
  • Page 170 DXS-1210 Series Smart Managed Switch CLI Reference Guide The physical port is valid for this configuration. This command is also configurable for port channel member ports. The command will cause the port to enter the disabled state. Under the disabled state, the port will not be able to receive or transmit any packets.
  • Page 171: Ip Utility Commands

    DXS-1210 Series Smart Managed Switch CLI Reference Guide 22. IP Utility Commands 22-1 ping This command is used to diagnose basic network connectivity. ping {IP-ADDRESS | IPV6-ADDRESS [VLAN-ID]} [count TIMES] [timeout SECONDS] [source {IP-ADDRESS | IPV6-ADDRESS}] Parameters IP-ADDRESS Specifies the IPv4 address of the destination host. IPV6-ADDRESS Specifies the IPv6 address of the system to discover.
  • Page 172 DXS-1210 Series Smart Managed 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 173: Jumbo Frame Commands

    DXS-1210 Series Smart Managed Switch CLI Reference Guide 23. Jumbo Frame Commands 23-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 BYTES...
  • Page 174: Link Aggregation Control Protocol (Lacp) Commands

    DXS-1210 Series Smart Managed Switch CLI Reference Guide 24. Link Aggregation Control Protocol (LACP) Commands 24-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 175: Lacp Timeout

    DXS-1210 Series Smart Managed Switch CLI Reference Guide 24-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 Specifies the port priority.
  • Page 176 DXS-1210 Series Smart Managed 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 eth 1/0/1 Switch(config-if)# lacp timeout long...
  • Page 177 DXS-1210 Series Smart Managed Switch CLI Reference Guide 24-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 178 DXS-1210 Series Smart Managed Switch CLI Reference Guide 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. Default None. Command Mode EXEC Mode or Any Configuration Mode.
  • Page 179: Link Layer Discovery Protocol (Lldp) Commands

    DXS-1210 Series Smart Managed Switch CLI Reference Guide 25. Link Layer Discovery Protocol (LLDP) Commands 25-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 180 DXS-1210 Series Smart Managed Switch CLI Reference Guide Specifies to clear LLDP neighboring information for all interfaces. INTERFACE-ID Specifies the interface’s ID. (Optional) Specifies a series of physical interfaces. No spacesbefore and after the comma. (Optional) Specifies a range of physical interfaces. No spaces before and after the hyphen.
  • Page 181 DXS-1210 Series Smart Managed Switch CLI Reference Guide 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. protocol-identity Specifies the Protocol Identity TLV to send.
  • Page 182 DXS-1210 Series Smart Managed Switch CLI Reference Guide Switch# configure terminal Switch(config)# interface eth 1/0/1 Switch(config-if)# lldp dot1-tlv-select protocol-identity lacp Switch(config-if)# 25-4 lldp dot3-tlv-select This command is used to specify which optional type-length-value settings (TLVs) in the IEEE 802.3 Organizationally Specific TLV set will encapsulated in the LLDPDUs and sent to neighbor devices.Use the no form of this commandto disable the transmission of the TLVs.
  • Page 183 DXS-1210 Series Smart Managed Switch CLI Reference Guide Switch# configure terminal Switch(config)# interface eth 1/0/1 Switch(config-if)# lldp dot3-tlv-select mac-phy-cfg Switch(config-if)# 25-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. lldp fast-count VALUE no lldp fast-count Parameters...
  • Page 184 DXS-1210 Series Smart Managed Switch CLI Reference Guide Default By default, this value is 4. Command Mode Global Configuration Mode. Command Default Level Level: 12. Usage Guideline This parameter is a multiplier on the LLDPDUs transmission interval that is used to compute the TTL value in an LLDPDU.
  • Page 185 DXS-1210 Series Smart Managed Switch CLI Reference Guide configured addresses are removed. Multiple IPv4/IPv6 management addresses can be configured by using this command multiple times. Use the no lldp management-address command without a management address to disable the management address adverted in LLDPDUs. If there is no effective management address in the list, no Management Address TLV will be sent.
  • Page 186 DXS-1210 Series Smart Managed Switch CLI Reference Guide Parameters capabilities (Optional) Specifies to transmit the LLDP-MED capabilities TLV. inventory-management (Optional) Specifies to transmit the LLDP-MED inventory management TLV. Default No LLDP-MED TLV is selected. Command Mode Interface Configuration Mode. Command Default Level Level: 12.
  • Page 187: Lldp Reinit

    DXS-1210 Series Smart Managed Switch CLI Reference Guide Example This example shows how to enable a physical interface to receive LLDP messages. Switch# configure terminal Switch(config)#interface ethernet 1/0/1 Switch(config-if)# lldp receive Switch(config-if)# 25-10 lldp reinit This command is used to configure the minimum time of re-initialization the delay interval on the Switch.
  • Page 188 DXS-1210 Series Smart Managed Switch CLI Reference Guide By default, this option is disabled. Command Mode Global Configuration Mode. Command Default Level Level: 12. Usage Guideline Use this command to globally enable LLDP and then the Switch can start to transmit LLDP packets and receive and process the LLDP packets.
  • Page 189 DXS-1210 Series Smart Managed Switch CLI Reference Guide 25-13 lldp tlv-select This command is used to select theType-Length-Value (TLVs) in the 802.1AB basic management set, will be transmitted and encapsulated in the LLDPDUs, and sent to neighbor devices. Use the no form of this command to disable this option.
  • Page 190 DXS-1210 Series Smart Managed Switch CLI Reference Guide 25-14 lldp transmit This command is used to enable the LLDP advertise (transmit) capability. Use the no form of this command to disable LLDP transmission. lldp transmit no lldp transmit Parameters None. Default By default, LLDP transmit is enabled on all supported interfaces.
  • Page 191 DXS-1210 Series Smart Managed Switch CLI Reference Guide Level: 12. Usage Guideline The LLDP transmission interval must be greater than or equal to four times of the transmission delay timer. Example This example shows how to configure the transmission delay timer to 8 seconds. Switch# configure terminal Switch(config)#lldp tx-delay 8 Switch(config)#...
  • Page 192 DXS-1210 Series Smart Managed Switch CLI Reference Guide Parameters (Optional) Specifies to enable the LLDP-MED trap state. Default The LLDP and LLDP-MED trap statesare disabled. Command Mode Global Configuration Mode. Command Default Level Level: 12. Usage Guideline Use the snmp-server enable traps lldp command to enable the sending of LLDP notifications. Use the snmp-server enable traps lldp med command to enable the sending of LLDP-MED notifications.
  • Page 193: Show Lldp

    DXS-1210 Series Smart Managed Switch CLI Reference Guide Switch# configure terminal Switch(config)# interface ethernet 1/0/1 Switch(config-if)# lldp subtype port-id mac-address Switch(config-if)# 25-19 show lldp This command is used to display the Switch’s general LLDP configuration. show lldp Parameters None. Default None.
  • Page 194: Show Lldp Interface

    Hardware Revision : A1 Firmware Revision : 1.00.012 Software Revision : 1.30.003 Serial Number Manufacturer Name : D-Link Corporation Model Name : DXS-1210-28XMP Gigabit Ethernet Asset ID PoE Device Type : PSE Device PoE PSE Power Source : Primary LLDP Configurations...
  • Page 195 DXS-1210 Series Smart Managed Switch CLI Reference Guide 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 :eth1/0/1 Admin Status :TX and RX Notification :Disabled Basic Management TLVs: Port Description :Enabled System Name...
  • Page 196 DXS-1210 Series Smart Managed Switch CLI Reference Guide 25-21 show lldp local interface This command is used to display physical interface information that will be carried in the LLDP TLVs and sent to neighbor devices. show lldp local interface INTERFACE-ID [, | -] [brief | detail] Parameters INTERFACE-ID Specifies the interface’s ID.
  • Page 197 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 DXS-1210-28XMP 1.30.003 Port 1 on Unit 1 Port PVID Management Address Count Address 1 : (default) Subtype : IPv4 Address : 10.90.90.90...
  • Page 198 ----------------------------------------------------------------------------- Port ID Subtype : Local Port ID : eth1/0/1 Port Description : D-Link Corporation DXS-1210-28XMP 1.30.003 Port 1 on Unit 1 Switch# 25-22 show lldp management-address This command is used to display the management address information. show lldp management-address [IP-ADDRESS | IPV6-ADDRESS]...
  • Page 199 DXS-1210 Series Smart Managed Switch CLI Reference Guide Switch# show lldp management-address Address 1 : (default) ------------------------------------------------ Subtype : IPv4 Address : 10.90.90.90 IF Type : IfIndex : 1.3.6.1.4.1.171.10.118.2 Advertising Ports Address 2 : ------------------------------------------------ Subtype : IPv4 Address : 10.90.90.90 IF Type : IfIndex : 1.3.6.1.4.1.171.10.118.2...
  • Page 200 DXS-1210 Series Smart Managed Switch CLI Reference Guide Example This example shows how to display information about neighboring devices learned by LLDP on eth4/0/9 in detailed mode. Switch# show lldp neighbor interface eth 1/0/9 detail Port ID : eth 1/0/9 ------------------------------------------------------------------------------- Remote Entities Count : 1 Entity 1...
  • Page 201 DXS-1210 Series Smart Managed Switch CLI Reference Guide Tagged Inventory Management (None) Switch# This example shows how to display remote LLDP information in the normal mode. Switch# show lldp neighbor interface eth 1/0/1 Port ID : 1 ---------------------------------------------------------------------- Remote Entities Count : 2 Entity 1 Chassis ID Subtype : MAC Address...
  • Page 202 DXS-1210 Series Smart Managed Switch CLI Reference Guide Extended power via MDI : (See Detail) Network policy : (See Detail) Inventory Management : (See Detail) Unknown TLVs Count Switch# This example shows how to display the neighbor information on eth3/0/1 to eth3/0/2 in brief mode. Switch# show lldp neighbor interface eth 1/0/1-1/0/2 brief Port ID: eth 1/0/1 ------------------------------------------------------------...
  • Page 203 DXS-1210 Series Smart Managed Switch CLI Reference Guide show lldp traffic Parameters None. Default None. Command Mode EXEC Mode or Any Configuration Mode. Command Default Level Level: 1. Usage Guideline The global LLDP traffic information displays an overview of neighbor detection activities on the Switch. Example This example shows how to display global LLDP traffic information.
  • Page 204 DXS-1210 Series Smart Managed Switch CLI Reference Guide interfaces from a previous range. No spaces before and after the comma. (Optional) Specifies a range of interfaces. No spaces before and after the hyphen. Default None. Command Mode EXEC Mode or Any Configuration Mode. Command Default Level Level: 1.
  • Page 205 DXS-1210 Series Smart Managed Switch CLI Reference Guide Parameters None. Default None. Command Mode EXEC Mode or Any Configuration Mode. Command Default Level Level: 1. Usage Guideline The global LLDP traps information display on the Switch. Example This example shows how to display global LLDP traffic information. Switch#show snmp-server traps lldp lldp : Disabled...
  • Page 206: Loopback Detection (Lbd) Commands

    DXS-1210 Series Smart Managed Switch CLI Reference Guide 26. Loopback Detection (LBD) Commands 26-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 mode...
  • Page 207 DXS-1210 Series Smart Managed Switch CLI Reference Guide This example shows how to enable the port-based loopback detection function globally and set the detection mode to port-based. Switch# configure terminal Switch(config)#loopback-detection Switch(config)# loopback-detection mode port-based Switch(config)# 26-2 loopback-detection (Interface) This command is used to enable the loopback detection function for an interface. Use the no form of this command to disable the function for an interface.
  • Page 208 DXS-1210 Series Smart Managed Switch CLI Reference Guide Default By default, this value is 10 seconds. Command Mode Global Configuration Mode. Command Default Level Level: 12. Usage Guideline Use this command to configure the interval at which LBD packets are sent to discover the loop occurrence.
  • Page 209 DXS-1210 Series Smart Managed Switch CLI Reference Guide Switch# configure terminal Switch(config)#loopback-detection vlan 100-200 Switch(config)# 26-5 show loopback-detection This command is used to display the current loopback detection control settings. show loopback-detection [interface INTERFACE-ID [, | -]] Parameters interface INTERFACE-ID (Optional) Specifies the interface’s ID to be displayed.
  • Page 210 DXS-1210 Series Smart Managed Switch CLI Reference Guide Switch# show loopback-detection Loop Detection : Enabled Detection Mode : vlan-based LBD enabled VLAN : all VLANs Interval : 20 seconds Action : Shut-down Interface Loopback Detection State Result Time Left(sec) ------------- ------------------------ -------------- ------------- eth1/0/3...
  • Page 211 DXS-1210 Series Smart Managed Switch CLI Reference Guide snmp-server enable traps loopback-detection no snmp-server enable traps loopback-detection 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 or disable the sending SNMP notifications of loopback detection. Example This example shows how to enable the sending SNMP notifications of loopback detection.
  • Page 212 DXS-1210 Series Smart Managed Switch CLI Reference Guide Switch# show snmp-server traps loopback-detection Loopback Detection Trap State: disable Switch# 26-8 loopback-detection action This command is used to set the loop action of loopback detection. Use the no form of this command to revert to the default setting.
  • Page 213: Mirror Commands

    DXS-1210 Series Smart Managed Switch CLI Reference Guide 27. Mirror Commands 27-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 214: Show Monitor Session

    DXS-1210 Series Smart Managed Switch CLI Reference Guide 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 215 DXS-1210 Series Smart Managed Switch CLI Reference Guide Default None. Command Mode EXEC Mode or Any Configuration Mode. Command Default Level Level: 1. Usage Guideline If this command is used without specifying a session number, all monitor sessions are displayed. Example This example shows how to display a created port monitor session with the session number 1.
  • Page 216: Mld Snooping Commands

    DXS-1210 Series Smart Managed Switch CLI Reference Guide 28. MLD Snooping Commands 28-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} Parameters Specifies to clear IPv6 MLD snooping statistics for all VLANs and all ports.
  • Page 217 DXS-1210 Series Smart Managed Switch CLI Reference Guide 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 218 DXS-1210 Series Smart Managed Switch CLI Reference Guide Switch# configure terminal Switch(config)#vlan 1 Switch(config-vlan)# ipv6 mld snooping fast-leave Switch(config-vlan)# 28-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 219: Ipv6 Mld Snooping Querier

    DXS-1210 Series Smart Managed 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 220 DXS-1210 Series Smart Managed Switch CLI Reference Guide Command Default Level Level: 12. Usage Guideline The command is only available for VLAN interface configuration. The interface must have IPv6 address assigned to start the querier. If the system can play the querier role, the entity will listen for MLD query packets sent by other devices.
  • Page 221 DXS-1210 Series Smart Managed Switch CLI Reference Guide 28-8 ipv6 mld snooping query-max-response-time This command is used to configure the maximum response time advertised in MLD snooping queries. Use the no form of this command to revert to the default setting. ipv6 mld snooping query-max-response-time SECONDS no ipv6 mld snooping query-max-response-time Parameters...
  • Page 222 DXS-1210 Series Smart Managed Switch CLI Reference Guide Command Default Level Level: 12. Usage Guideline The command is only available for VLAN interface configuration. Example This example shows how to configure the query version to be 1 on VLAN 1000. Switch# configure terminal Switch(config)#vlan 1000 Switch(config-vlan)# ipv6 mld snooping query-version 1...
  • Page 223: Show Ipv6 Mld Snooping

    DXS-1210 Series Smart Managed Switch CLI Reference Guide Switch# configure terminal Switch(config)#vlan 1000 Switch(config-vlan)# ipv6 mld snooping robustness-variable 3 Switch(config-vlan)# 28-11 ipv6 mld snooping static-group This command is used to configure an MLD snooping static group. Use the no form of this command to delete a static group.
  • Page 224 DXS-1210 Series Smart Managed 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 MLD snooping information for all VLANs on which MLD snooping are enabled by not specifying specific VLAN.
  • Page 225: Show Ipv6 Mld Snooping Mrouter

    DXS-1210 Series Smart Managed Switch CLI Reference Guide Usage Guideline Use this command to display MLD group information by command. Example This example shows how to display MLD snooping group information. Switch# show ipv6 mld snooping groups MLD Snooping Connected Group Membership: VLAN ID Group address Source address...
  • Page 226 DXS-1210 Series Smart Managed Switch CLI Reference Guide Switch# show ipv6 mld snooping mrouter VLAN Ports ----- ----------------------------- 4094 1/0/12 (forbidden) Total Entries: 3 Switch# 28-15 show ipv6 mld snooping static-group This command is used to display MLD snooping static group information on the Switch. show ipv6 mld snooping static-group [GROUP-ADDRESS | vlan VLAN-ID] Parameters GROUP-ADDRESS...
  • Page 227 DXS-1210 Series Smart Managed Switch CLI Reference Guide Parameters vlan VLAN-ID Specifies the VLAN of which to display the VLAN statistics. Default None. Command Mode EXEC Mode or Any Configuration Mode. Command Default Level Level: 1. Usage Guideline This command displays the MLD snooping related statistics information. Example This example shows how to display MLD snooping statistics information.
  • Page 228: Multiple Spanning Tree Protocol (Mstp) Commands

    DXS-1210 Series Smart Managed Switch CLI Reference Guide 29. Multiple Spanning Tree Protocol (MSTP) Commands 29-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 229 DXS-1210 Series Smart Managed 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 230 DXS-1210 Series Smart Managed Switch CLI Reference Guide This example shows how to configure the revision level of the MSTP configuration to 2. Switch# configure terminal Switch(config)#spanning-tree mst configuration Switch(config-mst)# revision 2 Switch(config-mst)# 29-4 show spanning-tree mst This command is used to display the information that used in the MSTP version. show spanning-tree mst [configuration] show spanning-tree mst [instance INSTANCE-ID [, | -]] [interface INTERFACE-ID [, | -]] [detail] Parameters...
  • Page 231 DXS-1210 Series Smart Managed 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) eth1/0/1...
  • Page 232 DXS-1210 Series Smart Managed 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) Priority...
  • Page 233 DXS-1210 Series Smart Managed Switch CLI Reference Guide Switch# show spanning-tree mst instance 2 interface eth 1/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 Interface Role...
  • Page 234 DXS-1210 Series Smart Managed 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 eth 1/0/1 Switch(config-if)# spanning-tree mst 0 cost 17031970...
  • Page 235 DXS-1210 Series Smart Managed Switch CLI Reference Guide Parameters max-hops HOP-COUNT Specifies the MSTP maximum hop count number. The range is from 1 to 40 hops. Default By default, this value is 20 hops. Command Mode Global Configuration Mode. Command Default Level Level: 12.
  • Page 236 DXS-1210 Series Smart Managed Switch CLI Reference Guide Switch# configure terminal Switch(config)#interface eth 1/0/1 Switch(config-if)# spanning-tree mst hello-time 1 Switch(config-if)# 29-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 237: Network Access Authentication Commands

    DXS-1210 Series Smart Managed Switch CLI Reference Guide 30. Network Access Authentication Commands 30-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 238 DXS-1210 Series Smart Managed 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 239 DXS-1210 Series Smart Managed 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 240 DXS-1210 Series Smart Managed Switch CLI Reference Guide Switch# configure terminal Switch(config)#interface eth 1/0/1 Switch(config-if)# authentication timer reauthentication 200 Switch(config-if)# 30-5 authentication timer restart This command is used to configure the timer to restart the authentication after the last failed authentication.
  • Page 241 DXS-1210 Series Smart Managed Switch CLI Reference Guide nor 7 are specified, the default form is clear text. password STRING Specifies to set password for MAC authentication. If in the clear text form, the length of the string cannot be over 32. vlan VLAN-ID Specifies the VLAN to be assigned.
  • Page 242 DXS-1210 Series Smart Managed Switch CLI Reference Guide Switch# clear authentication sessions interface eth 1/0/1 Switch# 30-8 authentication mac-move deny This command is used to disable MAC move on the Switch. Use the no form of this command to revert to the default setting. authentication mac-move deny no authentication mac-move deny Parameters...
  • Page 243 DXS-1210 Series Smart Managed Switch CLI Reference Guide Parameters None. Default By default, this option is enabled. Command Mode Global Configuration Mode. Command Default Level Level: 12. Usage Guideline The command is used to enable or disable the acceptance of an authorized configuration. When authorization is enabled for authentication, the authorized attributes (for example VLAN, 802.1p default priority, bandwidth, and ACL) assigned by the RADIUS server will be accepted if the authorization status is enabled.
  • Page 244 DXS-1210 Series Smart Managed Switch CLI Reference Guide Use this command without parameters to display the sessions associated with all ports. Example This example shows how to display sessions on Ethernet port 1/0/1. Switch# show authentication sessions interface eth 1/0/1 Interface: eth1/0/1 MAC Address: 00-16-76-35-1A-38 Authentication VLAN: 1...
  • Page 245 DXS-1210 Series Smart Managed Switch CLI Reference Guide Authenticating: Host is under authentication by this method. Success: Host pass this method authentication. Selected: This method’s authentication result is taken and parsed by system for the host. Failure: Host fail at this method authentication. NoInformation: Authentication info is unavailable.
  • Page 246 DXS-1210 Series Smart Managed Switch CLI Reference Guide...
  • Page 247: Port Security Commands

    DXS-1210 Series Smart Managed Switch CLI Reference Guide 31. Port Security Commands 31-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 [, | -]}} Parameters Specifies to delete all auto-learned secured entries. address MAC-ADDR Specifies to delete the specified auto -learned secured entry based on the MAC address entered.
  • Page 248 DXS-1210 Series Smart Managed Switch CLI Reference Guide and after the hyphen. address Specifies to display all the secure MAC addresses, including both configured and learned entries. Default None. Command Mode EXEC Mode or Any Configuration Mode. Command Default Level Level: 1.
  • Page 249 DXS-1210 Series Smart Managed Switch CLI Reference Guide 31-3 snmp-server enable traps port-security This command is used to enable sending SNMP notifications for port security address violation. Use the no form of this command to disable sending SNMP notifications. snmp-server enable traps port-security [trap-rate TRAP-RATE] no snmp-server enable traps port-security [trap-rate] Parameters trap-rate TRAP-RATE...
  • Page 250 DXS-1210 Series Smart Managed Switch CLI Reference Guide port-security process level and increments the security-violation count and record the system log. shutdown (Optional) Specifies to shut down the port if there is a security violation and record the system log. permanent (Optional) Specifies that under this mode, all learned MAC addresses will not be purged out unless the user manually deletes those entries.
  • Page 251 DXS-1210 Series Smart Managed Switch CLI Reference Guide • Restrict - A port security violation restricts data and causes the security violation counter to increment. • Shutdown - The interface is disabled, based on errors, when a security violation occurs. Example This example shows how to configure the port security mode to be permanent, specifying that a maximum of 5 secure MAC addresses are allowed on the port.
  • Page 252 DXS-1210 Series Smart Managed Switch CLI Reference Guide The default aging type is absolute. Command Mode Interface Configuration Mode. Command Default Level Level: 12. Usage Guideline Use this command to disable the ageing or set the ageing time for auto-learned dynamic secured entries.
  • Page 253 DXS-1210 Series Smart Managed Switch CLI Reference Guide Switch# configure terminal Switch(config)#port-security limit global 100 Switch(config)# 31-7 show port-security global-settings This command is used to display port security global settings. show port-security global-settings Parameters None Default None. Command Mode EXEC Mode Any Configuration Mode.
  • Page 254 DXS-1210 Series Smart Managed Switch CLI Reference Guide Command Default Level Level: 1. Usage Guideline Use this command to display port security traps states. Example This example shows how to display port security traps states. Switch# show snmp-server traps port-security port-security : Disabled Switch#...
  • Page 255: Power Saving Commands

    DXS-1210 Series Smart Managed Switch CLI Reference Guide 32. Power Saving Commands 32-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 256 DXS-1210 Series Smart Managed Switch CLI Reference Guide 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 dimming LEDs, port shutdown, and hibernation using this command. When dim LED is enabled, the device will turn off all the port’s LEDs in the specified time range to save power.
  • Page 257 DXS-1210 Series Smart Managed Switch CLI Reference Guide Switch# configure terminal Switch(config)#interface eth1/0/1 Switch(config-if)# power-saving eee Switch(config-if)# 32-4 power-saving dim-led time-range This command is used to configure the timerange profile for the dim LED schedule. Use the no form of this command to delete the specified timerange profile. power-saving dim-led time-range PROFILE-NAME no power-saving dim-led time-range PROFILE-NAME Parameters...
  • Page 258 DXS-1210 Series Smart Managed Switch CLI Reference Guide 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. It will shut down all the ports and LEDs, all network function will be disabled, and only the console connection will work via the RS232 port.
  • Page 259 DXS-1210 Series Smart Managed Switch CLI Reference Guide 32-7 show power-saving This command is used to display the powersaving configuration information. show power-saving [dim-led] [port-shutdown] [hibernation] [eee [INTERFACE-ID[,|-]]] Parameters dim-led (Optional) Specifies to display the dim LED state. port-shutdown (Optional) Specifies to display the portshutdown state. hibernation (Optional) Specifies to display the hibernation state.
  • Page 260 DXS-1210 Series Smart Managed Switch CLI Reference Guide...
  • Page 261: Protocol Independent Commands

    DXS-1210 Series Smart Managed Switch CLI Reference Guide 33. Protocol Independent Commands 33-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-MASKIP-ADDRESS [primary | backup] no ip route NETWORK-PREFIX NETWORK-MASKIP-ADDRESS Parameters NETWORK-PREFIX...
  • Page 262: Show Ip Route

    DXS-1210 Series Smart Managed 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 263: Show Ip Route Summary

    DXS-1210 Series Smart Managed 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 best routes that are currently at work. Example This example shows how to display the routing table. Switch#show ip route Code: C - connected, S - static * - candidate default...
  • Page 264: Show Ipv6 Route

    DXS-1210 Series Smart Managed Switch CLI Reference Guide Switch#show ip route summary Route Source Networks Connected Static Total Switch# 33-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 265: Show Ipv6 Route Summary

    DXS-1210 Series Smart Managed 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 266 DXS-1210 Series Smart Managed Switch CLI Reference Guide Switch# show ipv6 route summary Route Source Networks Connected Static Total Switch#...
  • Page 267: Quality Of Service (Qos) Commands

    DXS-1210 Series Smart Managed Switch CLI Reference Guide 34. Quality of Service (QoS) Commands 34-1 mls qos cos This command is used to configure the default Class of Service (CoS) value of a port. Use the no form of this command to revert to the default settings. mls qos cos {COS-VALUE | override} no mls qos cos Parameters...
  • Page 268 DXS-1210 Series Smart Managed Switch CLI Reference Guide Parameters dscp-cos DSCP-LIST to COS- Specifies the list of DSCP code points to be mapped to a CoS value. VALUE The range is from 0 to 63. The series of DSCPs can be separated by commas (,) or hyphens (-) with no spaces or hyphens before and after.
  • Page 269: Mls Qos Trust

    DXS-1210 Series Smart Managed Switch CLI Reference Guide Command Default Level Level: 12. Usage Guideline Specify schedule algorithms to WRR, SP, RR or WDRR for the output queue. By default, the output queue scheduling algorithm is WRR. WDRR operates by serving an accumulated set of backlogged credits in the transmit queue in a round robin order.
  • Page 270 DXS-1210 Series Smart Managed Switch CLI Reference Guide Command Default Level Level: 12. Usage Guideline When the interface is set to trust DSCP, the DSCP of the arriving packet will be trusted for the subsequent QoS operations. First, the DSCP will be mapped to an internal CoS value, which will be subsequently used to determine the CoS queue.
  • Page 271 DXS-1210 Series Smart Managed Switch CLI Reference Guide Level: 12. Usage Guideline When a packet is received, the packet will be given an internal CoS. This internal CoS is used to select the transmit queue based on the CoS to queue map. The CoS queue with a higher number will receivea higher priority.
  • Page 272 DXS-1210 Series Smart Managed Switch CLI Reference Guide The configuration of this command can only be attached to a physical port but not a port-channel. That is the minimum guaranteed bandwidth of one CoS cannot be used across physical ports. Example This example shows how to configure the queue bandwidth, the minimum guaranteed bandwidth and maximum bandwidth of queue 1 of interface eth3/0/1 to 100Kbps and 2000Kbps respectively.
  • Page 273: Show Mls Qos Interface

    DXS-1210 Series Smart Managed Switch CLI Reference Guide 34-8 show mls qos interface This command is used to display port level QoS configurations. show mls qos interface INTERFACE-ID [, | -] {cos | scheduler | trust | rate-limit | queue-rate- limit | dscp-cos-map } Parameters interface INTERFACE-ID...
  • Page 274 DXS-1210 Series Smart Managed Switch CLI Reference Guide Switch# show mls qos interface eth 1/0/2-5 trust Interface Trust State ---------- ------------ eth1/0/2 trust DSCP eth1/0/3 trust CoS eth1/0/4 trust DSCP eth1/0/5 trust CoS Switch# This example shows how to display the scheduling configuration for eth1/0/1 to eth1/0/2. Switch# show mls qos interface eth 1/0/1-2 scheduler Interface Scheduler Method...
  • Page 275 DXS-1210 Series Smart Managed Switch CLI Reference Guide Switch# show mls qos interface eth 1/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 276 DXS-1210 Series Smart Managed Switch CLI Reference Guide interfaces from a previous range. No space is allowed before and after the comma. (Optional)Specifies a range of interfaces. No space is allowed before and after the hyphen. Default None. Command Mode EXEC Mode or Any Configuration Mode.
  • Page 277 DXS-1210 Series Smart Managed Switch CLI Reference Guide Switch# show mls qos queuing interface eth 1/0/3 wrr bandwidth weights: Weights ------- wdrr bandwidth weights: Quantum ------- Switch# 34-10 wdrr-queue bandwidth This command is used to set the queue quantum in the WDRR scheduling mode. Use the no form of this command to revert to the default setting.
  • Page 278 DXS-1210 Series Smart Managed Switch CLI Reference Guide This example shows how to configure the queue quantum of the WDRR scheduling mode, queue quantum of queue 0, queue 1, queue 2, queue 3, queue 4, queue 5, queue 6, queue 7 are 1, 2, 3, 4, 5, 6, 7, 8 respectively on interface eth1/0/1.
  • Page 279: Remote Network Monitoring (Rmon) Commands

    DXS-1210 Series Smart Managed Switch CLI Reference Guide 35. Remote Network MONitoring (RMON) Commands 35-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 280: Rmon Alarm

    DXS-1210 Series Smart Managed Switch CLI Reference Guide 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. interval SECONDS Specifies the number of seconds in each polling cycle.
  • Page 281: Rmon Event

    DXS-1210 Series Smart Managed Switch CLI Reference Guide 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. If not specified, no action is taken while crossing the falling threshold. owner STRING Specifies the owner string.
  • Page 282: Show Rmon Alarm

    DXS-1210 Series Smart Managed Switch CLI Reference Guide 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 283: Show Rmon History

    DXS-1210 Series Smart Managed Switch CLI Reference Guide show rmon events Parameters None. Default None. Command Mode EXEC Mode or Any Configuration Mode. Command Default Level Level: 1. Usage Guideline This command displays the RMON event table. Example This example shows how to displays the RMON event table. Switch# show rmon events Event 1, owned by manager1 Description is Errors...
  • Page 284: Show Rmon Statistics

    DXS-1210 Series Smart Managed Switch CLI Reference Guide Example This example shows how to display RMON Ethernet history statistics. Switch# show rmon history Index 23, owned by Manager, Data source is eth1/0/2 Interval: 30 seconds Requested buckets: 50, Granted buckets: 50 Sample #1 Received octets: 303595962, Received packets: 357568 Broadcast packets: 3289, Multicast...
  • Page 285 DXS-1210 Series Smart Managed Switch CLI Reference Guide Switch# show rmon statistics Index 32, owned by it@domain.com, Data Source is eth 1/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 286 DXS-1210 Series Smart Managed Switch CLI Reference Guide Parameters None. Default None. Command Mode EXEC Mode or Any Configuration Mode. Command Default Level Level: 1. Usage Guideline To display RMON trap state. Example This example shows how to display the RMON trap state. Switch# show snmp traps rmon Rmon Trap State: RMON Rising Alarm Trap: Enabled...
  • Page 287: Safeguard Engine Commands

    DXS-1210 Series Smart Managed Switch CLI Reference Guide 36. Safeguard Engine Commands 36-1 cpu-protect safeguard This command is used to enable or configure the Safeguard Engine. Use the no form of this command to disable the Safeguard Engine. cpu-protect safeguard no cpu-protect safeguard Default By default, Safeguard Engine is disabled.
  • Page 288 DXS-1210 Series Smart Managed Switch CLI Reference Guide This example shows how to display the settings and current status of the Safeguard Engine. Switch#show cpu-protect safeguard Safeguard Engine State: Disabled Switch#...
  • Page 289: Secure Sockets Layer (Ssl) Commands

    DXS-1210 Series Smart Managed Switch CLI Reference Guide 37. Secure Sockets Layer (SSL) Commands 37-1 show ssl-service-policy This command is used to display the SSL service policy. show ssl-service-policy [POLICY-NAME] Parameters POLICY-NAME (Optional) Specifies the name of the SSL service policy. Default None.
  • Page 290 DXS-1210 Series Smart Managed Switch CLI Reference Guide sha][rsa-with-aes-256-cbc-sha][dhe-rsa-with-aes-128-cbc-sha][dhe-rsa-with-aes-256-cbc- sha]}|{session-cache-timeout}] Parameters POLICY-NAME Specifies the name of the SSL service policy. ciphersuite (Optional) Specifies the cipher suites that should be used by the secure service when negotiating a connection with a remote peer. rsa-null-md5 Use RSA key exchange with null for message encryption and Message Digest 5(MD5) for message digest .
  • Page 291 DXS-1210 Series Smart Managed Switch CLI Reference Guide Switch# configure terminal Switch(config)# ssl-service-policy ssl-server ciphersuite rsa-null-md5 Switch(config)# 37-3 show ssl-global-setting This command is used to to display the SSL global settings. show ssl-global-setting Parameters None. Default None. Command Mode EXEC Mode or Any Configuration Mode. Command Default Level Level: 1.
  • Page 292: Simple Network Management Protocol (Snmp) Commands

    DXS-1210 Series Smart Managed Switch CLI Reference Guide 38. Simple Network Management Protocol (SNMP) Commands 38-1 show snmp-server This command is used to display the SNMP server’s global state settings and trap related settings. show snmp-server [traps] Parameters traps (Optional) Specifies to display trap related settings. Default None.
  • Page 293 DXS-1210 Series Smart Managed Switch CLI Reference Guide Switch# show snmp-server traps Global Trap State : Enabled Individual Trap State: Authentication : Enabled linkup : Enabled linkdown : Enabled coldstart : Enabled warmstart : Disabled Switch# 38-2 snmp-server This command is used to enable the SNMP agent. Use the no form of this command to disable the SNMP agent.
  • Page 294 DXS-1210 Series Smart Managed Switch CLI Reference Guide Parameters contact TEXT Specifies a string for describing the system contact information. The maximum length is 255 characters The syntax is a general string that allows spaces. Default None. Command Mode Global Configuration Mode. Command Default Level Level: 12.
  • Page 295 DXS-1210 Series Smart Managed Switch CLI Reference Guide Switch# configure terminal Switch(config)#snmp-server enable traps Switch(config)# 38-5 snmp-server enable traps snmp This command is used to enable the sending of all or specific SNMP notifications. Use the no form of this commandto disable sending of all or specific SNMP notifications. snmp-server enable traps snmp [authentication] [linkup] [linkdown] [coldstart] [warmstart] no snmp-server enable traps snmp [authentication] [linkup] [linkdown] [coldstart] [warmstart]...
  • Page 296 DXS-1210 Series Smart Managed Switch CLI Reference Guide Switch# configure terminal Switch(config)#snmp-server enable traps Switch(config)# snmp-server enable traps snmp Switch(config)# snmp-server host 10.9.18.100 version 2c public Switch(config)# This example shows how to enable the SNMP authentication traps. Switch# configure terminal Switch(config)#snmp-server enable traps snmp authentication Switch(config)# 38-6...
  • Page 297 DXS-1210 Series Smart Managed Switch CLI Reference Guide Parameters NAME Specifies the string that describes the SNMP server name information. The maximum length is 64 characters. This name should start with a letter, and end with a letter or a number. Hyphens are allowed to be used in between the starting and ending characters.
  • Page 298: Show Snmp

    DXS-1210 Series Smart Managed Switch CLI Reference Guide Switch# configure terminal Switch(config)#snmp-server service-port 50000 Switch(config)# 38-9 snmp-server response broadcast-request This command is used to enable the server to response to broadcast SNMP GetRequest packets. Use the no form of this command to disable the response to broadcast SNMP GetRequest packets. snmp-server response broadcast-request no snmp-server response broadcast-request Parameters...
  • Page 299 DXS-1210 Series Smart Managed Switch CLI Reference Guide None. Command Mode Privileged EXEC Mode or Any Configuration Mode. Command Default Level Level: 12. Usage Guideline This command displays the SNMP information. When displaying SNMP community strings, the SNMPv1 or SNMPv2c user created will not be displayed. Example This example shows how to display SNMP community information.
  • Page 300 DXS-1210 Series Smart Managed Switch CLI Reference Guide Switch# show snmp view View Name Subtree View Type ----------------------------------------------------------- restricted 1.3.6.1.2.1.1 Included restricted 1.3.6.1.2.1.11 Included restricted 1.3.6.1.6.3.10.2.1 Included restricted 1.3.6.1.6.3.11.2.1 Included restricted 1.3.6.1.6.3.15.1.1 Included CommunityView Included CommunityView 1.3.6.1.6.3 Excluded CommunityView 1.3.6.1.6.3.1 Included Total Entries: 8 Switch#...
  • Page 301: Show Snmp User

    DXS-1210 Series Smart Managed Switch CLI Reference Guide Switch# show snmp engineID Local SNMP engineID: 00000009020000000C025808 Switch# 38-11 show snmp user This command is used to display information about the configured SNMP user. show snmp user [USER-NAME] Parameters USER-NAME (Optional) Specifies the name of a specific user to display SNMP information.
  • Page 302 DXS-1210 Series Smart Managed Switch CLI Reference Guide 38-12 snmp-server community This command is used to configure the community string to access the SNMP. Use the no form of this command to remove the community string, snmp-server community [0 | 7] COMMUNITY-STRING [view VIEW-NAME] [ro | rw] [access IP- ACL-NAME] no snmp-server community COMMUNITY-STRING Parameters...
  • Page 303 DXS-1210 Series Smart Managed Switch CLI Reference Guide 38-13 snmp-server engineID local This command is used to specify the SNMP engine ID on the local device. Use the no form of this command to revert the SNMP engine ID to the default. snmp-server engineID local ENGINEID-STRING no snmp-server engineID local Parameters...
  • Page 304 DXS-1210 Series Smart Managed Switch CLI Reference Guide read READ-VIEW (Optional) Specifies a read-view that the group user can access. write WRITE-VIEW (Optional) Specifies a write-view that the group user can access. notify NOTIFY-VIEW (Optional) Specifies a write-view that the group user can access. The notify view describes the object that can be reported its status via trap packets to the group user.
  • Page 305 DXS-1210 Series Smart Managed Switch CLI Reference Guide 38-15 snmp-server host This command is used to specify the recipient of the SNMP notification. Use the no form of this command to remove the recipient. snmp-server host {IP-ADDRESS | IPV6-ADDRESS} [version {1 | 2c | 3 {auth | noauth | priv}}] COMMUNITY-STRING [port PORT-NUMBER] no snmp-server host {IP-ADDRESS | IPV6-ADDRESS} Parameters...
  • Page 306 DXS-1210 Series Smart Managed Switch CLI Reference Guide This example shows how to configure the trap recipient 163.10.50.126 with version 1 with community string “comaccess”. Switch# configure terminal Switch(config)#snmp-server community comaccess rw Switch(config)# snmp-server host 163.10.50.126 version 1 comaccess Switch(config)# This example shows how to configure the trap recipient 163.10.50.126 with version 3 authentication security level and with the username “useraccess”.
  • Page 307 DXS-1210 Series Smart Managed Switch CLI Reference Guide Switch# configure terminal Switch(config)#snmp-server source-interface traps vlan 100 Switch(config)# 38-17 snmp-server user This command is used to create an SNMP user. Use the no form of this command to remove an SNMP user. snmp-server user USER-NAME GROUP-NAME {v1 | v2c | v3 [encrypted] [auth {md5 | sha} AUTH-PASSWORD [priv PRIV-PASSWORD]]} [access IP-ACL-NAME] no snmp-server user USER-NAME GROUP-NAME {v1 | v2c | v3}...
  • Page 308 DXS-1210 Series Smart Managed Switch CLI Reference Guide This example shows how the plain-text password is configured for the user “user1” in the SNMPv3 group public. Switch# configure terminal Switch(config)#snmp-server user user1 public v3 auth md5 authpassword priv privpassword Switch(config)# This example shows how the MD5 digest string is used instead of the plain text password.
  • Page 309 DXS-1210 Series Smart Managed Switch CLI Reference Guide Usage Guideline Use this command to create a view of MIB objects. Example This example shows how to create a MIB view called “interfacesMibView” and define an SNMP group “guestgroup” with “InterfaceMIBView” as the read view. Switch# configure terminal Switch(config)#snmp-server view interfacesMibView 1.3.6.1.2.1.2 included Switch(config)# snmp-server group guestgroup v3 auth read interfacesMibView...
  • Page 310: Spanning Tree Protocol (Stp) Commands

    DXS-1210 Series Smart Managed Switch CLI Reference Guide 39. Spanning Tree Protocol (STP) Commands 39-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 311 DXS-1210 Series Smart Managed 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 SpanningTree configuration for the single spanning tree when in the RSTP or STP-compatible mode.
  • Page 312 DXS-1210 Series Smart Managed 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 313 DXS-1210 Series Smart Managed Switch CLI Reference Guide 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 314 DXS-1210 Series Smart Managed Switch CLI Reference Guide Parameters hello-time SECONDS Specifies the interval that a designated port will wait between the periodic transmissionsof 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 315 DXS-1210 Series Smart Managed Switch CLI Reference Guide 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 316 DXS-1210 Series Smart Managed Switch CLI Reference Guide 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 317 DXS-1210 Series Smart Managed Switch CLI Reference Guide Usage Guideline A full-duplex port is considered to have a point-to-point connection; on the opposite, a half-duplex port is considered to have a shared connection .The port can’t transit into forwarding state rapidly by setting link type to shared-media.
  • Page 318 DXS-1210 Series Smart Managed Switch CLI Reference Guide 39-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 319 DXS-1210 Series Smart Managed Switch CLI Reference Guide PRIORITY Specifies the port priority.Valid values are from 0 to 240. Default By default, this value is 128. Command Mode Interface Configuration Mode. Command Default Level Level: 12. Usage Guideline The port priority and the port number together form the Port Identifier. It will be used in the computation of the role of the port.
  • Page 320 DXS-1210 Series Smart Managed Switch CLI Reference Guide Switch# configure terminal Switch(config)#spanning-tree priority 4096 Switch(config)# 39-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. spanning-tree tcnfilter no spanning-tree tcnfilter Parameters...
  • Page 321 DXS-1210 Series Smart Managed Switch CLI Reference Guide Default By default, this value is 6. Command Mode Global Configuration Mode. Command Default Level Level: 12. Usage Guideline This command specifies the number of hold BPDUs to transmit. The transmission of BPDUs on a port is controlled by a counter.
  • Page 322: Storm Control Commands

    DXS-1210 Series Smart Managed Switch CLI Reference Guide 40. Storm Control Commands 40-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 323 DXS-1210 Series Smart Managed 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 324 DXS-1210 Series Smart Managed Switch CLI Reference Guide 40-3 storm-control polling This command is used to configure the polling interval of received packet counts. Use the no form of this command to restore to its default settings. storm-control polling {interval SECONDS | retries {NUMBER | infinite}} no storm-control polling {interval | retries} Parameters interval SECONDS...
  • Page 325 DXS-1210 Series Smart Managed Switch CLI Reference Guide and after the hyphen. broadcast Specifies to display the current broadcast storm setting. multicast Specifies to display the current multicast storm setting. unicast Specifies to display the current unicast(DLF) storm setting. Default None.
  • Page 326 DXS-1210 Series Smart Managed Switch CLI Reference Guide Display Parameters Interface The interface ID. Action The configured action, the possible actions are: Drop, Shutdown, None. Threshold The configured threshold. Current The actual traffic rate which is currently flowing though the interface. Its unit may be percentage, kbps, PPS based on the configured meter mode.
  • Page 327: Surveillance Vlan Commands

    DXS-1210 Series Smart Managed Switch CLI Reference Guide 41. Surveillance VLAN Commands 41-1 surveillance vlan This command is used toenable 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 328 DXS-1210 Series Smart Managed Switch CLI Reference Guide Parameters MINUTES Specifies the aging time of surveillance VLAN. The range is from 1 to 65535 minutes. Default By default, this aging time is 720 minutes. Command Mode Global Configuration Mode. Command Default Level Level: 12.
  • Page 329 (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 330 DXS-1210 Series Smart Managed Switch CLI Reference Guide Command Mode Global Configuration Mode. Command Default Level Level: 12. Usage Guideline Use this command to add user-defined OUI(s) for the surveillance VLAN. The OUI for surveillance VLAN are used to identify the surveillance traffic by the surveillance VLAN function. If the source MAC addresses of the received packet matches any of the OUI pattern, the received packet is determined as a surveillance packet.
  • Page 331 DXS-1210 Series Smart Managed Switch CLI Reference Guide Switch# configure terminal Switch(config)# surveillance vlan qos 7 Switch(config)# 41-6 show surveillance vlan This command is used to display the surveillance VLAN configurations. show surveillance vlan [ interface [ INTERFACE-ID [, | -] ] ] show surveillance vlan device [ interface [ INTERFACE-ID [, | -] ] ] Parameters device...
  • Page 332 : 30 minutes 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 333: Switch Port Commands

    DXS-1210 Series Smart Managed Switch CLI Reference Guide 42. Switch Port Commands 42-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 | auto} no duplex Parameters full...
  • Page 334 DXS-1210 Series Smart Managed Switch CLI Reference Guide 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. Command Mode Interface Configuration Mode.
  • Page 335 DXS-1210 Series Smart Managed Switch CLI Reference Guide SPEED-LIST (Optional) Specifies a list of speeds that the Switch will only auto- negotiate to. The speed can be 100,1000, and/or 10giga. Use a comma(,) to separate multiple speeds. If the speed list is not specified, all speed will be advertised.
  • Page 336: System File Management Commands

    DXS-1210 Series Smart Managed Switch CLI Reference Guide 43. System File Management Commands 43-1 boot image This command is used to specify the file that will be used as the image file for the next boot. boot image IMAGE-ID Parameters IMAGE-ID Specifies the image ID 1 or 2.
  • Page 337 DXS-1210 Series Smart Managed Switch CLI Reference Guide Privilege EXEC Mode. Command Default Level Level: 15. Usage Guideline Use this command to clear the system’s configuration, including stacking information. The configuration data will revert to the default settings and then save it to the start-up configuration file and then reboot switch.
  • Page 338 DXS-1210 Series Smart Managed Switch CLI Reference Guide None. Command Mode Privileged EXEC Mode. Command Default Level Level: 15. Usage Guideline Use this command to copy a file to another file in the file system. Use this command to download or upload the configuration file or the image file.
  • Page 339: Show Boot

    DXS-1210 Series Smart Managed Switch CLI Reference Guide Switch# copy running-config startup-config Destination filename startup-config? [y/n]: Saving all configurations to NV-RAM..Done. Switch# Switch# copy running-config config1 Destination filename startup-config? [y/n]: y Saving all configurations to NV-RAM..Done. Switch# copy running-config config2 Destination filename startup-config? [y/n]: y Saving all configurations to NV-RAM..
  • Page 340 DXS-1210 Series Smart Managed Switch CLI Reference Guide None. Command Mode EXEC Mode or Any Configuration Mode. Command Default Level Level: 1. Usage Guideline This command is used to display the boot configuration file and the boot image setting. Example This example shows how to display system boot information.
  • Page 341 DXS-1210 Series Smart Managed Switch CLI Reference Guide Switch#show running-config #------------------------------------------------------------------------ DXS-1210-12SC 10GbE Smart Managed Switch Configuration Firmware: Build V1.15.005 Copyright(C) 2017 D-Link Corporation. All rights reserved. #------------------------------------------------------------------------ command-start # Basic # LACP configure terminal lacp system-priority 32768 port-channel load-balance src-mac...
  • Page 342 DXS-1210 Series Smart Managed Switch CLI Reference Guide Switch# show startup-config #------------------------------------------------------------------------ DXS-1210-12SC 10GbE Smart Managed Switch Configuration Firmware: Build V1.15.003 Copyright(C) 2017 D-Link Corporation. All rights reserved. #------------------------------------------------------------------------ # Basic # ------------------------------------------------------------ # LACP configure terminal lacp system-priority 32768...
  • Page 343 DXS-1210 Series Smart Managed Switch CLI Reference Guide Global Configuration Mode. Command Default Level Level: 15. Usage Guideline This command is used to set the startup configuration file. Example This example shows how to set the startup configuration file. Switch(config)# boot startup-config config1 Switch(config)# 43-8 reboot...
  • Page 344: System Log Commands

    DXS-1210 Series Smart Managed Switch CLI Reference Guide 44. System Log Commands 44-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 345 DXS-1210 Series Smart Managed Switch CLI Reference Guide 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). Command Mode Global Configuration Mode. Command Default Level Level: 12.
  • Page 346 DXS-1210 Series Smart Managed Switch CLI Reference Guide FACILITY-TYPE (Optional)Specifies the facility type as a decimal value from 0 to 23. If not specified, the default facility is Kernel messages(0). port UDP-PORT (Optional) Specifies the UDP port number to be used for the SYSLOG server.
  • Page 347: Show Logging

    DXS-1210 Series Smart Managed Switch CLI Reference Guide This example shows how to enable the logging of system messages with a severity higher than warnings to the remote host 20.3.3.3. Switch# configure terminal Switch(config)#logging server 20.3.3.3 severity warnings Switch(config)# 44-4 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.
  • Page 348 DXS-1210 Series Smart Managed Switch CLI Reference Guide starts from the eldest message in the buffer. decrease NN Specifies the number of messages that occurred prior to the specified reference sequence number. If the reference index is not specified, the message display starts from the last message written in the buffer.
  • Page 349: Time And Sntp Commands

    DXS-1210 Series Smart Managed Switch CLI Reference Guide 45. Time and SNTP Commands 45-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 350: Clock Timezone

    DXS-1210 Series Smart Managed 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 351: Show Clock

    DXS-1210 Series Smart Managed Switch CLI Reference Guide 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. Usage Guideline The time obtained by the SNTP server refers to the UTC time. The local time will be calculated based on UTC time, time zone, and the daylight saving configuration.
  • Page 352: Show Sntp

    DXS-1210 Series Smart Managed 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# 45-5...
  • Page 353: Sntp Server

    DXS-1210 Series Smart Managed Switch CLI Reference Guide 45-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 commandto remove a server from the list of SNTP servers. sntp server {IP-ADDRESS | IPV6-ADDRESS} no sntp server {IP-ADDRESS | IPV6-ADDRESS} Parameters...
  • Page 354: Sntp Interval

    DXS-1210 Series Smart Managed 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. Switch# configure terminal Switch(config)#sntp enable Switch(config)#...
  • Page 355: Time Range Commands

    DXS-1210 Series Smart Managed Switch CLI Reference Guide 46. Time Range Commands 46-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 356 DXS-1210 Series Smart Managed 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 357 DXS-1210 Series Smart Managed Switch CLI Reference Guide Use this command to enter the time range configuration mode before using the periodic command to specify a time period. When a time-range is created without any time interval (periodic) setting, it implies that there is not any active period for the time-range.
  • Page 358: Traffic Segmentation Commands

    DXS-1210 Series Smart Managed Switch CLI Reference Guide 47. Traffic Segmentation Commands 47-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 359 DXS-1210 Series Smart Managed Switch CLI Reference Guide INTERFACE-ID Specifies the ID of an interface allowed. The allowed interfaces include physical port. (Optional) Specifies a series of interfaces, or separate a range of interfaces from a previous range. No space before and after the comma.
  • Page 360: Virtual Lan (Vlan) Commands

    DXS-1210 Series Smart Managed Switch CLI Reference Guide 48. Virtual LAN (VLAN) Commands 48-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 361: Show Vlan

    DXS-1210 Series Smart Managed Switch CLI Reference Guide Interface Configuration Mode. Command Default Level Level: 12. Usage Guideline Use this command to enable ingress checking for packets received by the interface. If ingress checking is enabled, the packet will be dropped if the received port is not a member port of the VLAN classified for the received packet.
  • Page 362 DXS-1210 Series Smart Managed 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 363: Switchport Access Vlan

    DXS-1210 Series Smart Managed Switch CLI Reference Guide 48-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 364: Switchport Hybrid Native Vlan

    DXS-1210 Series Smart Managed 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 365: Switchport Mode

    DXS-1210 Series Smart Managed 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 366: Switchport Trunk Allowed Vlan

    DXS-1210 Series Smart Managed Switch CLI Reference Guide Switch# configure terminal Switch(config)#interface eth 1/0/1 Switch(config-if)# switchport mode trunk Switch(config-if)# 48-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 367: Switchport Trunk Native Vlan

    DXS-1210 Series Smart Managed Switch CLI Reference Guide 48-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 368 DXS-1210 Series Smart Managed Switch CLI Reference Guide (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. Command Default Level Level: 12.
  • Page 369 DXS-1210 Series Smart Managed Switch CLI Reference Guide 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)#...
  • Page 370: Voice Vlan Commands

    DXS-1210 Series Smart Managed Switch CLI Reference Guide 49. Voice VLAN Commands 49-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 371: Voice Vlan Enable

    DXS-1210 Series Smart Managed Switch CLI Reference Guide MINUTES Specifies the aging time of the voice VLAN. The valid range is from 1 to 65535 minutes. Default By default, this value is 720 minutes. Command Mode Global Configuration Mode. Command Default Level Level: 12.
  • Page 372 DXS-1210 Series Smart Managed Switch CLI Reference Guide Switch# configure terminal Switch(config)#interface eth 1/0/1 Switch(config-if)# voice vlan enable Switch(config-if)# 49-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 373: Voice Vlan Mode

    DXS-1210 Series Smart Managed 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)# 49-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 374: Show Voice Vlan

    DXS-1210 Series Smart Managed Switch CLI Reference Guide 49-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. voice vlan qos COS-VALUE no voice vlan qos Parameters...
  • Page 375 DXS-1210 Series Smart Managed Switch CLI Reference Guide lldp-med device (Optional) Specifies to display the voice devices learned by LLDP- MED. Default None. Command Mode EXEC Mode or Any Configuration Mode. Command Default Level Level: 1. Usage Guideline This command is used to display the voice VLAN configurations. Example This example shows how to display the voice VLAN global settings.
  • Page 376 DXS-1210 Series Smart Managed Switch CLI Reference Guide Switch# show voice vlan device interface eth 1/0/1-2 Interface Device Address Start Time Status --------- ------------------ ----------------- ------- eth1/0/1 00-03-6B-00-00-01 2012-03-19 09:00 Active eth1/0/1 00-03-6B-00-00-02 2012-03-20 10:09 Aging eth1/0/1 00-03-6B-00-00-05 2012-03-20 12:04 Active eth1/0/2 00-03-6B-00-00-0a...
  • Page 377: Appendix A - System Log Entries

    DXS-1210 Series Smart Managed 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. Log Message: 802.1X authentication fails from (Username: <username>, Port: <interface-id>, MAC: <mac-address>) Warning...
  • Page 378 DXS-1210 Series Smart Managed Switch CLI Reference Guide from RADIUS server. interface–id: It indicates the port number of the client authenticated. Event description: This log will be generated when request RADIUS assignment for a 802.1X mac based(Host Mode is Multi Auth) port. Log Message: The port <interface -id>...
  • Page 379 DXS-1210 Series Smart Managed Switch CLI Reference Guide session: The user’s session. Event description: Configuration restore failure. Log Message: Configuration restore failure via <session>! Warning Parameters description: session: The user’s session. Event description: Configuration backup successfully. Log Message: Configuration backup successfull via <session>. Informational Parameters description: session: The user’s session.
  • Page 380 DXS-1210 Series Smart Managed Switch CLI Reference Guide link-speed: port link speed. LACP Log Description Severity Event description: Link Aggregation Group link up. Informational Log Message:Trunk group< group_id > link up. Parameters description: group_id: The group id of the link up aggregation group. Event description: Link Aggregation Group link down.
  • Page 381 DXS-1210 Series Smart Managed Switch CLI Reference Guide Event description: Record the event when an interface detect loop in port-based mode. Log Message: Port <interface-id> LBD loop occurred. Port not blocked as a Critical result of NONE action mode. Parameters description: interface-id:Interface on which loop is detected.
  • Page 382 DXS-1210 Series Smart Managed Switch CLI Reference Guide interface_id: The port number which detect or receive topochange information. Event description: Used to record new root bridge selected. Informational Log Message: New Root bridge selected (MAC: <macaddr> Priority :< priority>) Parameters description: macaddr: The system of bridge mac address.
  • Page 383 DXS-1210 Series Smart Managed Switch CLI Reference Guide Log Description Severity Event description: Storm occurrence. Warning Log Message: <broadcast | multicast | unicast> storm is occurring on <interface- id>. Parameters description: broadcast: Storm is resulted by broadcast packets(DA = FF:FF:FF:FF:FF:FF). multicast: Storm is resulted by multicast packets, including unknown L2 multicast, known L2 multicast, unknown IP multicast and known IP multicast.
  • Page 384 DXS-1210 Series Smart Managed Switch CLI Reference Guide Log Description Severity Event description: Successful login through Web. Log Message: Successful login through Web (IP: <ipaddr>). Informational Parameters description: ipaddr: The IP address of HTTP client. Event description: Login failed through Web. Log Message: Login failed through Web (IP: <ipaddr>).
  • Page 385: Appendix B - Trap Entries

    DXS-1210 Series Smart Managed 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 pnacAuthNotifyAuthSuccess The trap is sent when a host has successfully logged 1.3.6.1.4.1.1 in (passed 802.1X authentication).
  • Page 386 DXS-1210 Series Smart Managed Switch CLI Reference Guide (2) errDisIfStatusVlanIndex (3) errDisPortReason errDisNotifyVlanDisabledAssert 1.3.6.1.4.1.1 The trap is sent when a Port with a VID loop occurs. 71.10.139.1. Binding objects: 1.2.13.8.0.3 (1) errDisIfStatusPortIndex (2) errDisIfStatusVlanIndex (3) errDisPortReason errDisNotifyVlanDisabledClear The trap is sent when a Port with a VID restarts after 1.3.6.1.4.1.1 the interval time.
  • Page 387 DXS-1210 Series Smart Managed Switch CLI Reference Guide Trap Name Description lldpRemoteTableChanged A lldpRemoteTableChanged notification is sent when 1.3.6.1.4.1.1 the value of lldpStatsRemTableLastChangeTime 71.10.139.1. changes. It can be utilized by an NMS to trigger 1.4.7.12.0.1 LLDP remote systems table maintenance polls. Binding objects: (1) lldpStatsRemTablesInserts (2) lldpStatsRemTablesDeletes...
  • Page 388 DXS-1210 Series Smart Managed Switch CLI Reference Guide (1) lldpXdot3RemMaxFrameSize A lldpMAUTypeNotMatched notification sent if the lldpMAUTypeNotMatched 1.3.6.1.4.1.1 Operational MauType of the two systems connected 71.10.139.1. to the same link is different. 1.4.7.12.0.10 Binding objects: (1) lldpXdot3RemPortOperMauType MSTP Trap Name Description stpNewRootTrap The newRoot trap indicates that the sending agent...
  • Page 389 DXS-1210 Series Smart Managed Switch CLI Reference Guide (3) ifOperStatu linkDown A notification is generated when port linkdown. 1.3.6.1.6.3.1. 1.5.3 Binding objects: (1) ifIndex (2) if AdminStatus (3) ifOperStatu Port Security Trap Name Description portSecurityVioAction When the port security trap is enabled, new MAC 1.3.6.1.4.1.17 addresses that violate the pre-defined port security 1.10.139.1.1.
  • Page 390 DXS-1210 Series Smart Managed Switch CLI Reference Guide Storm Control Trap Name Description This trap is sent when storm is occurred or detected. stormCtrlTrapsStormOccur 1.3.6.1.4.1.1 Binding objects: 71.10.139.1. 1.8.16.1.1.6. (1) stormCtrlIndex This trap is sent when port storm is cleared. stormCtrlTrapsStormClear 1.3.6.1.4.1.1 Binding objects:...
  • Page 391: Appendix C - Radius Attributes Assignment

    DXS-1210 Series Smart Managed Switch CLI Reference Guide Appendix C - RADIUS Attributes Assignment The RADIUS Attributes Assignment on the DXS-1210 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 392 DXS-1210 Series Smart Managed Switch CLI Reference Guide To assign the VLAN by the RADIUS server, the proper parameters should be configured on the RADIUS server. To use VLAN assignment, RFC3580 defines the following tunnel attributes in RADIUS packets. The table below shows the parameters for a VLAN: RADIUS Tunnel Attribute Description Value...
  • Page 393: 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 394: 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 12 Hardware-based DXS-1210-12TC Software-based Model Name ERPS Port 1 to 8 Port 9 to 12 Hardware-based...

This manual is also suitable for:

Dxs-1210-12scDxs-1210-10tsDxs-1210-16tc

Table of Contents