DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Table of Contents 1. Introduction ...................................................................................................................................................................... 1 2. Basic CLI Commands ................................................................................................................................................... 10 3. 802.1X Commands...........................................
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 39. Jumbo Frame Commands ........................................................................................................................................ 340 40. Link Aggregation Control Protocol (LACP) Commands ........................................................................................... 341 41. Link Layer Discovery Protocol (LLDP) Commands ........................................................................
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 1. Introduction This manual’s command descriptions are based on the software release 1.00. The commands listed here are the subset of commands that are supported by the DGS-1510 Series SmartPro Switch. Audience This CLI Reference Guide is intended for network administrators and other IT networking professionals responsible for managing the switch by using the Command Line Interface (CLI).
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide NOTE: A note indicates important information that helps you make better use of your device. NOTICE: A notice indicates either potential damage to hardware or loss of data and tells you how to avoid the problem. CAUTION: A caution indicates a potential for property damage, personal injury, or death. Command Descriptions The information pertaining to each command in this reference guide is presented using a number of template fields.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide • Administrator - Privilege Level 15. This administrator user account level can monitor all system information and change any of the system configuration settings expressed in this configuration guide. The command-line interface has a number of command modes.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Administrator level except that a user at the administrator level can monitor and clear security related settings. Global Configuration Mode / Operator level For applying global settings, except for security related settings, on the entire switch. In addition to applying global settings on the entire switch, the user can access other sub-configuration modes from global configuration mode.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# configure terminal Switch(config)# The exit command is used to exit the global configuration mode and return to the privileged EXEC mode. Switch(config)# exit Switch# The procedures to enter the different sub-configuration modes can be found in the related chapters in this Configuration Guide. The command modes are used to configure the individual functions.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide • The command login local tell the Switch that users need to enter locally configured login credentials to access the console interface. Save the running configuration to the start-up configuration. This means to save the changes made so that when the Switch is rebooted, the configuration will not be lost. The following example shows how to save the running configuration to the start-up configuration.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide modules slots, thus this parameters will always by zero for this switch series. Lastly, the Port’s ID is the physical port number of the port being configured. In summary the above example will configure the stacked switch with the ID of 1, with the open slot ID of 0, and the physical port number 1.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide CTRL+R Toggles the insert text function on and off. When on, text can be inserted in the line and the remainder of the text will be shifted to the right. When off, text can be inserted in the line and old text will automatically be replaced with the new text. Return Scrolls down to display the next line or used to issue a command. Space Scrolls down to display the next page. ESC Escapes from the displaying page.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch#show running-config | include # DEVICE # DEVICE Switch# The example below shows how to use the exclude FILTER-STRING parameter in a show command. Switch#show running-config | exclude # DEVICE Building configuration... Current configuration : 34703 bytes #------------------------------------------------------------------------------# DGS-1510-28P Gigabit Ethernet SmartPro Switch # Configuration # # Firmware: Build 1.00.
DGS-1510 Series Gigabit Ethernet SmartPro 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. Command Default Level Level: 1.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch#help The switch CLI provides advanced help feature. 1. Help is available when you are ready to enter a command argument (e.g. 'show ?') and want to know each possible available options. 2. Help is provided when an abbreviated argument is entered and you want to know what arguments match the input(e.g. 'show ve?'.). If nothing matches, the help list will be empty and you must backup until entering a '?' shows the available options.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide None. Command Mode User EXEC Mode. Privilege EXEC Mode. Command Default Level Level: 1. Usage Guideline Execute this command if the current level is lower than the command level. If the privileged level requires a password, enter it in the field provided. However, only three attempts are allowed. Failure to access this level returns the user to the current level. Example This example shows how to enter the Privileged EXEC Mode.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 2-4 configure terminal This command is used to enter the Global Configuration Mode. configure terminal Parameters None. Default None Command Mode Privilege EXEC Mode. Command Default Level Level: 12. Usage Guideline This command is used to enter the Global Configuration Mode. Example This example shows how to enter into Global Configuration Mode.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Example This example shows how to login with username “user1”. Switch# login Username: user1 Password: xxxxx Switch# 2-6 login (Line) This command is used to set the line login method. Use the no form of the command to disable the login. login [local] no login Parameters login Specifies that the line login method will be login. local Specifies that the line login method will be local.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide • • When AAA is enabled, the AAA module is used. When AAA is disabled, the following rules are used: o When login is disabled, the username and password is ignored. Enter the details at Level 1. o When the username and password option is selected, use the username and password setup by the username command.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Parameters None. Default None. Command Mode User EXEC Mode. Privilege EXEC Mode. Command Default Level Level:1. Usage Guideline Use this command to close an active terminal session by logging out of the device.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# configure terminal Switch(config)# interface eth1/0/1 Switch(config-if)#end Switch# 2-9 exit This command is used to end the configuration mode and go back to the last mode. If the current mode is the User EXEC Mode or the Privilege EXEC Mode, executing the exit command logs you out of the current session. exit Parameters None. Default None. Command Mode EXEC Mode or Any Configuration Mode. Command Default Level Level: 1.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Command Mode EXEC Mode or Any Configuration Mode. Command Default Level Level: 1. Usage Guideline 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. The history buffer size is fixed at 20 commands. The function key instructions, below, displays how to navigate the command in the history buffer.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Example This example shows how to display fan, temperature, power availability and status information.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Example This example shows how to display the information about units on a system.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch#show cpu utilization CPU Utilization Five seconds - 8 % One minute - 7 % Five minutes - Switch# 2-14 show version This command is used to display the Switch’s software version information. 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.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide snmp-server enable traps environment [fan] [power] [temperature] no snmp-server enable traps environment [fan] [power] [temperature] Parameters fan (Optional) Specifies to enable the fan trap state for warning fan event (fan failed or fan recover). power (Optional) Specifies to enable the power trap state for warning power event (power failed or power recover).
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide high (Optional) Specifies the high threshold of the temperature in Celsius. The range is from -100 to 200. low (Optional) Specifies the low threshold of the temperature in Celsius. The range is from -100 to 200. The low threshold must be smaller than the high threshold. Default None. Command Mode Global Configuration Mode. Command Default Level Level: 12.
DGS-1510 Series Gigabit Ethernet SmartPro 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 all Specifies to clear 802.1X counters (diagnostics, statistics and session statistics) on all interfaces. interface INTERFACE-ID Specifies to clear 802.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide both Specifies to enable bidirectional control for the port. in Specifies to enable in direction control for the port. Default By default, this option is bidirectional mode. Command Mode Interface Configuration Mode. Command Default Level Level: 12. Usage Guideline This command is only available for physical port interface configuration.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Command Mode Interface Configuration Mode. Command Default Level Level: 12. Usage Guideline This command is used to reset all the IEEE 802.1X parameters on a specific port to their default settings. Example This example shows how to reset the 802.1X parameters on port 1/0/1.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# configure terminal Switch(config)# interface eth1/0/1 Switch(config-if)# dot1x port-control force-unauthorized Switch(config-if)# 3-5 dot1x forward-pdu This command is used to enable the forwarding of the dot1x PDU. Use the no form of the command to disable the forwarding of the dot1x PDU. dot1x forward-pdu no dot1x forward-pdu Parameters None. Default By default, this option is disabled.
DGS-1510 Series Gigabit Ethernet SmartPro 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. mac-address MAC-ADDRESS Specifies the MAC address to be initialized. Default None. Command Mode Privileged EXEC Mode. Command Default Level Level: 12.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Usage Guideline The command is only available for physical port interface configuration. If no response to an authentication request from the supplicant within the timeout period (specified by the dot1x timeout txperiod SECONDS command) the Switch will retransmit the request. This command is used to specify the number of retransmissions.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# configure terminal Switch(config)# interface eth1/0/1 Switch(config-if)# no dot1x pae authenticator Switch(config-if)# 3-9 dot1x re-authenticate This command is used to re-authenticate a specific port or a specific MAC address. dot1x re-authenticate {interface INTERFACE-ID [, | -] | mac-address MAC-ADDRESS} Parameters interface INTERFACE-ID Specifies the port to re-authenticate. Valid interfaces are physical ports.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Parameters None. Default By default, this option is disabled. Command Mode Global Configuration Mode. Command Default Level Level: 12. Usage Guideline The 802.1X authentication function restricts unauthorized hosts from accessing the network. Use the dot1x system-auth-control command to globally enable the 802.1X authentication control. When 802.1X authentication is enabled, the system will authenticate the 802.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Interface Configuration Mode. Command Default Level Level: 12. Usage Guideline This command is only available for physical port interface configuration. Example This example shows how to configure the server timeout value, supplicant timeout value, and the TX period on Ethernet port 1/0/1 to be 15, 15, and 10 seconds, respectively.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# show dot1x 802.1X Trap State : Enabled : Enabled Switch# This example shows how to display the dot1X configuration on Ethernet port 1/0/1.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide This command can be used to display 802.1X diagnostics. Using this command without parameters will display information about all interfaces. Otherwise, the diagnostics on the specified interface will be displayed. Example This example shows how to display the dot1X diagnostics on Ethernet port 1/0/1.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Command Mode EXEC Mode or Any Configuration Mode. Command Default Level Level: 1. Usage Guideline This command can be used to display 802.1X statistics. Using this command without parameters will display information about all interfaces. Otherwise, the statistics on the specified interface will be displayed. Example This example shows how to display dot1X statistics on Ethernet port 1/0/1.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide None. Command Mode EXEC Mode or Any Configuration Mode. Command Default Level Level: 1. Usage Guideline This command can be used to display 802.1X session statistics. Using this command without parameters will display information about all interfaces. Otherwise, the session statistics on the specified interface will be displayed. Example This example shows how to display dot1X session statistics on Ethernet port 1/0/1.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 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.
DGS-1510 Series Gigabit Ethernet SmartPro 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 access list entries in an access list. Use the no form of the command to reset to the default setting. access-list resequence {NAME | NUMBER} STARTING-SEQUENCE-NUMBER INCREMENT no access-list resequence Parameters NAME Specifies the name of the access list to be configured.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# configure terminal Switch(config)# show access-list ip R&D Extended IP access list R&D(ID: 3552) 10 permit tcp any 10.20.0.0 255.255.0.0 20 permit tcp any host 10.100.1.2 30 permit icmp any any Switch(config)# ip extended access-list R&D Switch(config-ip-ext-acl)# 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 Extended IP access list R&D(ID: 3552)5 permit tcp any 10.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Usage Guideline The command with parameter access-group will enable the ACL hardware counter for all ports that have applied the specified access-list name or number. The number of packets, that match each rule, are counted. The command with parameter vlan-filter will enable the ACL hardware counter for all VLAN(s) that have applied the specified VLAN access-map. The number of packets that permitted by each access map are counted.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# show vlan access-map VLAN access-map vlan-map 20 match mac address: ext_mac(ID: 6856) action: forward Switch# configure terminal Switch(config)# vlan access-map vlan-map 20 Switch(config-access-map)# action redirect eth1/0/5 Switch(config-access-map)# end Switch# show vlan access-map VLAN access-map vlan-map 20 match mac address: ext_mac(ID: 6856) action: redirect eth1/0/5 Switch# 4-4 clear acl-hardware-counter This command is use
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 4-5 expert access-group This command is used to apply a specific expert ACL to an interface. Use the no command to cancel the application. expert access-group {NAME | NUMBER} [in] no expert access-group [NAME | NUMBER] [in] Parameters NAME Specifies the name of the expert access-list to be configured. The name can be up to 32 characters. NUMBER Specifies the number of the expert access list to be configured.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Parameters NAME Specifies the name of the extended expert access-list to be configured. The name can be up to 32 characters. NUMBER Specifies the ID number of expert access list. For extended expert access lists, the value is from 8000 to 9999. Default None. Command Mode Global Configuration Mode. Command Default Level Level: 12. Usage Guideline The name must be unique among all access lists.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide in (Optional) Specifies that the IP access list will be applied to check packets in the ingress direction. If the direction is not specified, in is used. Default None. Command Mode Interface Configuration Mode. Command Default Level Level: 12. Usage Guideline If an IP access group is already configured on the interface, the command applied later will overwrite the previous setting.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide None. Command Mode Global Configuration Mode. Command Default Level Level: 12. Usage Guideline The name must be unique among all access lists. The characters used in the name are case sensitive. If the access list number is not specified, the biggest unused number in the range of IP access list numbers will be assigned automatically.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide consume the filtering entry resource in the switch controller. If the resource is insufficient to commit the command, then an error message will be displayed. There is a limitation on the number of port operator resources. If applying the command exhausts the available port selectors, then an error message will be displayed. Example This example shows how to specify the IPv6 access list “ip6-control” as an IP access group for eth3/0/3.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# configure terminal Switch(config)# ipv6 access-list extended ip6-control Swtich(config-ipv6-ext-acl)# permit tcp any 2002:f03::1/16 Switch(config-ipv6-ext-acl)# This example shows how to configure an IPv6 standard access list, named ip6-std-control.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 4-12 mac access-group This command is used to specify a MAC access list to be applied to an interface. Use the no command to remove the access group control from the interface. mac access-group {NAME | NUMBER} [in] no mac access-group [NAME | NUMBER] [in] Parameters NAME Specifies the name of the MAC access list to be applied. NUMBER Specifies the number of the MAC access list to be applied.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Parameters NAME Specifies the name of the MAC access-list to be configured. The maximum length is 32 characters. NUMBER Specifies the ID number of the MAC access list, For extended MAC access lists, this value is from 6000 to 7999. Default None. Command Mode Global Configuration Mode. Command Default Level Level: 12.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Level: 12. Usage Guideline Use this command to associate an IP access list with the configured sub-map. One sub-map can only be associated with one access list (IP access list, IPv6 access list or MAC access list). IP sub-map just checks IP packets. The newer command overwrites the previous setting. Example This example shows how to configure the match content in the sub-map.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# configure terminal Switch(config)# vlan access-map vlan-map 20 Switch(config-access-map)# match ipv6 address sp1 Switch(config-access-map)# end Switch# show vlan access-map VLAN access-map vlan-map 20 match ipv6 address: sp1(ID: 12999) action: forward Switch# 4-16 match mac address This command is used to associate MAC access lists for the configured sub-maps. The no form of this command removes the match entry.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# configure terminal Switch(config)# vlan access-map vlan-map 30 Switch(config-access-map)# match mac address ext_mac Switch(config-access-map)# end Switch# show vlan access-map VLAN access-map vlan-map 20 match ip address: sp1(ID: 3999) action: forward VLAN access-map vlan-map 30 match mac address: ext_mac(ID: 7999) action: forward Switch# 4-17 permit | deny (expert access-list) This command is used to add a permit or deny entry.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide vlan OUTER-VLAN (Optional) Specifies the outer VLAN ID. any Specifies to use any source MAC address, any destination MAC address, any source IP address, or any destination IP address. host SRC-MAC-ADDR Specifies a specific source host MAC address. SRC-MAC-ADDR SRC-MACWILDCARD Specifies a group of source MAC addresses by using a wildcard bitmap. The bit corresponding to the bit value 1 will be ignored.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide ICMP-MESSAGE (Optional) Specifies the ICMP message.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Extended Access List: [SEQUENCE-NUMBER] {permit | deny} tcp {any | host SRC-IP-ADDR | SRC-IP-ADDR SRC-IPWILDCARD} [{eq | lt | gt | neq} PORT | range MIN-PORT MAX-PORT] {any | host DST-IP-ADDR | DST-IP-ADDR DST-IP-WILDCARD} [{eq | lt | gt | neq} PORT | range MIN-PORT MAX-PORT] [TCPFLAG] [[precedence PRECEDENCE] [tos TOS] | dscp DSCP] [time-range PROFILE-NAME] [SEQUENCE-NUMBER] {permit | deny} udp {any | host SRC-IP-ADDR | SRC-IP-ADDR SRC-IP
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide level, as specified by a number from 0 to 15. lt PORT (Optional) Specifies to match if less than the specified port number. gt PORT (Optional) Specifies to match if greater than the specified port number. eq PORT (Optional) Specifies to match if equal to the specified port number. neq PORT (Optional) Specifies to match if not equal to the specified port number.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide specified sequence number will be assigned sequence based new sequence setting of the specified access list. When you manually assign the sequence number, it is better to have a reserved interval for future lower sequence number entries. Otherwise, it will create extra effort to insert an entry with a lower sequence number. The sequence number must be unique in the domain of an access-list.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide [SEQUENCE-NUMBER] {permit | deny} {esp | pcp | sctp | protocol-id PROTOCOL-ID} {any | host SRC-IPV6-ADDR | SRC-IPV6-ADDR/PREFIX-LENGTH} {any | host DST-IPV6-ADDR | DST-IPV6ADDR/PREFIX-LENGTH} [fragments] [dscp VALUE] [flow-label FLOW-LABEL] [time-range PROFILE-NAME] [SEQUENCE-NUMBER] {permit | deny} {any | host SRC-IPV6-ADDR | SRC-IPV6-ADDR/PREFIXLENGTH} [any | host DST-IPV6-ADDR | DST-IPV6-ADDR/PREFIX-LENGTH] [fragments] [dscp VALUE] [flo
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide parameter-option, parameter-problem, port-unreachable, reassemblytimeout, redirect, renum-command, renum-result, renum-seq-number, router-advertisement, router-renumbering, router-solicitation, timeexceeded, unreachable. TCP-FLAG (Optional) Specifies the TCP flag fields and the specified TCP header bits called ack (acknowledge), fin (finish), psh (push), rst (reset), syn (synchronize), or urg (urgent).
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# configure terminal Switch(config)# ipv6 access-list ipv6-std-control Switch(config-ipv6-acl)# permit any ff02::0:2/16 Switch(config-ipv6-acl)# permit any host ff02::1:2 Switch(config-ipv6-acl)# 4-20 permit | deny (mac access-list) This command is used to define the rule for packets that will be permitted or denied.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide If a rule entry is created without a sequence number, a sequence number will be automatically assigned. If it is the first entry, the sequence number 10 is assigned. A subsequent rule entry will be assigned a sequence number that is 10 greater than the largest sequence number in that access list and is placed at the end of the list.
DGS-1510 Series Gigabit Ethernet SmartPro 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-22 show access-list This command is used to display the access list configuration information.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# show access-list Access-List-Name -------------------------------------simple-ip-acl(ID: 3998) simple-rd-acl(ID: 3999) rd-mac-acl(ID: 6998) rd-ip-acl(ID: 1998) ip6-acl(ID: 12999) park-arp-acl Type --------------ip ext-acl ip ext-acl mac ext-acl ip acl ipv6 ext-acl arp acl Total Entries: 6 Switch# This example shows how to display the IP access list called R&D.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Default None. Command Mode EXEC Mode or Any Configuration Mode. Command Default Level Level: 1. Usage Guideline If no access-map name is specified, all VLAN access-map information will be displayed. If the user enables the ACL hardware counter for an access-map, the counter will be displayed based on each submap. Example This example shows how to display the VLAN access-map.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Parameters MAP-NAME (Optional) Specifies the name of the VLAN access map. The name can be up to 32 characters. VLAN-ID (Optional) Specifies the VLAN ID. Default None. Command Mode EXEC Mode or Any Configuration Mode. Command Default Level Level: 1. Usage Guideline The show vlan filter access-map command is used to display the VLAN filter information by access map.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide range is from 1 to 65535. Default None. Command Mode Global Configuration Mode. Command Default Level Level: 12. Usage Guideline A VLAN access map can contain multiple sub-maps. For each sub-map, one access list (IP access list, IPv6 access list or MAC access list) can be specified and one action can be specified. After a VLAN access map is created, the user can use the vlan filter command to apply the access map to VLAN(s).
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Usage Guideline A VLAN can only be associated with one VLAN access map. Example This example shows how to apply the VLAN access-map “vlan-map” in VLAN 5.
DGS-1510 Series Gigabit Ethernet SmartPro 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 the command to remove the specified access list check. access-class IP-ACL no 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.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Parameters level PRIVILEGE-LEVEL Specifies the privilege level for the user. The privilege level is between 1 and 15. If this argument is not specified in the command or the no form of the command, the privilege level defaults to 15 (traditional enable privileges). 0 PASSWORD Specifies the password the user must enter to gain access to the Switch. The password can contain embedded spaces. The password is case-sensitive.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Command Mode Global Configuration Mode. Command Default Level Level: 12. Usage Guideline This command enables the HTTP server function. The HTTPs access interface is separately controlled by SSL commands. Example This example shows how to enable the HTTP server. Switch# configure terminal Switch(config)# ip http server Switch(config)# 5-4 ip http secure-server This command is used to enable the HTTPS server.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 5-5 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 the command to remove the access list check. ip http access-class IP-ACL no ip http access-class IP-ACL Parameters IP-ACL Specifies a standard IP access list. The source address field of the entry defines the valid or invalid host. Default None. Command Mode Global Configuration Mode.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide and 65535. The “well-known” TCP port for the HTTP protocol is 80. Default By default, this port number is 80. 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 the HTTP TCP port number to 8080.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch#configure terminal Switch(config)#ip http timeout-policy idle 100 Switch(config)# 5-8 ip telnet server This command is used to enable a Telnet server. And use the no command to disable the Telnet server function ip telnet server no ip telnet server Parameters None. Default By default, this option is enabled. Command Mode Global Configuration Mode. Command Default Level Level: 12.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide By default, this value is 23. Command Mode Global Configuration Mode. Command Default Level Level: 12. Usage Guideline This command configures the TCP port number for Telnet access Example This example shows how to change the Telnet service port number to 3000.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 5-11 service password encryption This command is used to enable the encryption of the password before stored in the configuration file. The no command will disable the encryption. service password-encryption no service password-encryption Parameters None. Default By default, this option is disabled. Command Mode Global Configuration Mode. Command Default Level Level:15.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Command Mode EXEC Mode or Any Configuration Mode. Command Default Level Level: 1. Usage Guideline Use this command to display information about the terminal configuration parameters for the current terminal line. Example This example shows how to display information about the terminal configuration parameter settings for the current terminal line.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# show ip telnet server Server State: Enabled Switch# 5-14 show ip http server This command is used to obtain information about the http server status. Use this command in EXEC mode or any configuration mode. show ip http server Parameters None. Default By default, the state is enabled. Command Mode EXEC Mode or Any Configuration Mode. Command Default Level Level: 1.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Command Mode EXEC Mode or Any Configuration Mode. Command Default Level Level: 1. Usage Guideline Use this command to display information about the SSL status. Example This example shows how to display information about the SSL status. Switch#show ip http secure-server ip http secure-server state : Switch# disable 5-16 show users This command is used to display information about the active lines on the Switch.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 5-17 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 default terminal length command will set the default value but it doesn’t affect the current session. The newly created, saved session terminal length will use the default value. Use no form of this command to revert back to the default settings.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 5-18 terminal speed This command is used to setup the terminal speed. Use the no form of the command to reset to the default setting. terminal speed BPS no terminal speed Parameters BPS Specifies the console rate in bits per second (bps). Default By default, this value is 115200. Command Mode Global Configuration Mode. Command Default Level Level: 12. Usage Guideline Use this command to configure the terminal connection speed.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Level: 12. Usage Guideline This timer specifies the timeout for auto-logout sessions established by the line that is being configured. Example This example shows how to configure the console session to never timeout.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide However, for remote CLI session access such as Telnet, the auto-negotiation terminal width result will take precedence over the default setting if the negotiation is successful. Otherwise, the default settings take effect. Example This example shows how to adjust the current session terminal width to 120 characters.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Default By default, no username-based authentication system is established. If not specified, use 1. 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. The user needs to further use the enable command to enter the Privileged EXEC Mode.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide remains plain text. 7 Specifies the encrypted password based on SHA-1. The password length is fixed at 35 bytes. It is case-sensitive. The password is encrypted. If the password syntax is not specified, the syntax is plain text. PASSWORD Specifies the password for the user. Default None. Command Mode Line Configuration Mode. Command Default Level Level: 15. Usage Guideline This command is used to create a new user password.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 6. ARP Spoofing Prevention Commands 6-1 ip arp spoofing-prevention This command is used to configure an ARP Spoofing Prevention (ASP) entry of the gateway used for preventing ARP poisoning attacks. Use the no form of the command to delete an ARP spoofing prevention entry.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch#configure terminal Switch(config)# ip arp spoofing-prevention 10.254.254.251 00-00-00-11-11-11 interface eth2/0/10 Switch(config)# ip arp spoofing-prevention 10.254.254.251 00-00-00-11-11-11 interface port-channel 3 Switch(config)# 6-2 show ip arp spoofing-prevention This command is used to display the configuration of ARP spoofing prevention. show ip arp spoofing-prevention Parameters None. Default None.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 7. Asymmetric VLAN Commands 7-1 asymmetric-vlan This command is used to enable the asymmetric VLAN function. Use the no form of this command to disable the asymmetric VLAN function. asymmetric-vlan no asymmetric-vlan Parameters None. Default By default, this feature is disabled. Command Mode Global Configuration Mode. Command Default Level Level: 12.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 8. Authentication, Authorization, and Accounting (AAA) Commands 8-1 aaa accounting commands This command is used to configure the method list used for all commands at the specified privilege level. Use the no command to remove an accounting method list. aaa accounting commands LEVEL {default | LIST-NAME} start-stop METHOD1 [METHOD2...
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 8-2 aaa accounting exec This command is used to configure the method list used for exec accounting for a specific line. Use the no form of the command to disable the accounting exec. aaa accounting exec {default | LIST-NAME} start-stop METHOD1 [METHOD2...] no aaa accounting exec {default | LIST-NAME} Parameters default Specifies to configure the default method list for EXEC accounting. LIST-NAME Specifies the name of the method list.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide no aaa accounting network default Parameters network Specifies to perform accounting of network related service requests. start-stop Specifies to send accounting messages at both the start time and the end time of access. Users are allowed of access the network regardless of whether the start accounting message enables the accounting successfully. default Specifies to configure the default method list for network accounting.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Parameters system Specifies to perform accounting for system-level events. start-stop Specifies to send accounting messages at both the start time and the end time of access. Users are allowed to access the network regardless of whether the start accounting message enables the accounting successfully. default Specifies to configure the default method list for system accounting. METHOD1 [METHOD2...
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Parameters METHOD1 [METHOD2...] Specifies the list of methods that the authentication algorithm tries in the given sequence. Enter at least one method or enter up to four methods. The following are keywords that can be used to specify a method. enable – Specifies to use the local enable password for authentication. group radius – Specifies to use the servers defined by the RADIUS server host command.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide method. local – Specifies to use the local database for authentication. group radius – Specifies to use the servers defined by the RADIUS server host command. group GROUP-NAME – Specifies to use the server groups defined by the AAA group server. none - Normally, the method is listed as the last method. The user will pass authentication if it is not denied by previous method authentication.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide authentication. Default No AAA authentication method is configured. Command Mode Global Configuration Mode. Command Default Level Level: 15. Usage Guideline Use this command to configure the default authentication method list for JWAC authentication. Initially, the default method list is not configured. The authentication of JWAC requests will be performed based on the local database.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide No AAA authentication method list is configured. Command Mode Global Configuration Mode. Command Default Level Level: 15. Usage Guideline Use this command to configure the authentication method list used for login authentication. Multiple method lists can be configured. The default keyword is used to define the default method list.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide the AAA group server. none - Normally, the method is listed as the last method. The user will pass authentication if it is not denied by previous method authentication. Default No AAA authentication method is configured. Command Mode Global Configuration Mode. Command Default Level Level: 15. Usage Guideline Use this command to configure the default authentication method list for MAC authentication.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Command Mode Global Configuration Mode. Command Default Level Level: 15. Usage Guideline Use this command to configure the default authentication method list for Web authentication. Initially, the default method list is not configured. The authentication of the web-auth request will be performed based on the local database. Example This example shows how to set the default method list for authenticating web-auth users.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch#configure terminal Switch(config)#aaa group server radius group1 Switch(config-sg-radius)# server 172.19.10.100 Switch(config-sg-radius)# server 172.19.11.20 Switch(config-sg-radius)# exit Switch(config)# 8-12 aaa group server tacacs+ This command is used to enter the TACACS+ group server configuration mode to associate server hosts with the group.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide aaa new-model no aaa new-model Parameters None. Default By default, this feature is disabled. Command Mode Global Configuration Mode. Command Default Level Level: 15. Usage Guideline Use this command to 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.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Command Default Level Level: 15. Usage Guideline For accounting via the method list to take effect, enable AAA first by using the aaa new-model command. Create the method list first by using the aaa accounting commands command. If the method list does not exist, the command does not take effect. The user can specify different method lists to account commands at different levels. A level can only have one method list specified.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch#configure terminal Switch(config)# aaa accounting exec list-1 start-stop group radius switch(config)# line console switch(config-line)# accounting exec list-1 Switch(config-line)# 8-16 clear aaa counters servers This command is used to clear the authentication and accounting (AAA) server statistic counters.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide This example shows how to clear AAA server counters information for all hosts in the server group “server-farm”. Switch# clear aaa counters servers sg server-farm Switch# 8-17 ip http authentication aaa login-authentication This command is used to specify an AAA authentication method list for the authentication of the HTTP server users. Use the no form of the command to reset to use the default method list.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Parameters default Specifies to do accounting based on the default method list. METHOD-LIST Specifies the name of the method list to use. Default By default, this option is disabled. Command Mode Global Configuration Mode. Command Default Level Level: 15. Usage Guideline For accounting via the method list to take effect, enable AAA first by using the aaa new-model command.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Usage Guideline For authentication via the method list to take effect, enable AAA first by using the aaa new-model command. Create the method list first by using the aaa authentication login command. If the method list does not exist, the command does not take effect and the authentication will be done via the default login method list. When aaa new-model is enabled, the default method list is used for authentication.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch#configure terminal Switch(config)# radius-server deadtime 10 Switch(config)# 8-21 radius-server host This command is used to create a RADIUS server host. Use the no form of this command to delete a server host.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide This example shows how to create two RADIUS server hosts with the different IP address. Switch#configure terminal Switch(config)# radius-server host 172.19.10.100 auth-port 1500 acct-port 1501 timeout 8 retransmit 3 key ABCDE Switch(config)# radius-server host 172.19.10.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 8-23 server (TACACS+) This command is used to associate a TACACS+ server with a server group. Use the no form of the command to remove a server from the server group. server {IP-ADDRESS | IPV6-ADDRESS} no server {IP-ADDRESS | IPV6-ADDRESS} Parameters IP-ADDRESS Specifies the IPv4 address of the authentication server. IPV6-ADDRESS Specifies the IPv6 address of the authentication server.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide None. Default None. Command Mode Privilege EXEC Mode or Any Configuration Mode. Command Default Level Level: 1. Usage Guideline Use this command to display the AAA global state. Example This example shows how to display the AAA global state. Switch# show aaa AAA is enabled. Switch# 8-25 tacacs-server host This command is used to create a TACACS+ server host. Use the no form of this command to remove a server host.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Global Configuration Mode. Command Default Level Level: 15. Usage Guideline Use this command to create TACACS+ server hosts before it can be associated with the TACACS+ server group using the server command. Example This example shows how to create two TACACS+ server hosts with the different IP addresses. Switch#configure terminal Switch(config)# tacacs-server host 172.19.10.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch#show radius statistics RADIUS Server: 172.19.192.80: Auth-Port State is UP Auth. Round Trip Time: 10 Access Requests: 4 Access Accepts: 0 Access Rejects: 4 Access Challenges: 0 Acct Request: NA Acct Response: NA Retransmissions: 0 Malformed Responses: 0 Bad Authenticators: 0 Pending Requests: 0 Timeouts: 0 Unknown Types: 0 Packets Dropped: 0 1645, Acct-Port 1646 Acct. 10 NA NA NA NA 3 3 0 0 0 0 0 0 0 Display Parameters Auth.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide of a Response, a timeout or retransmission. Timeouts The number of timeouts to this server. After a timeout the client may retry to the same server, send to a different server, or give up. A retry to the same server is counted as a retransmit as well as a timeout. A send to a different server is counted as a Request as well as a timeout. Unknown Types The number of RADIUS packets of unknown type which were received from this server.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Total Packets Sent Number of packets sent to the TACACS+ server. Total Packets Recv Number of packets received from the TACACS+ server. Reference Count Number of authentication requests from the TACACS+ server.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 9. Basic IPv4 Commands 9-1 arp This command is used to add a static entry in the Address Resolution Protocol (ARP) cache. Use the no command to remove a static entry in the ARP cache. arp IP-ADDRESS HARDWARE-ADDRESS no arp IP-ADDRESS HARDWARE-ADDRESS Parameters IP-ADDRESS Specifies the network layer IP address. HARDWARE-ADDRESS Specifies the local data-link Media Access (MAC) address (a 48-bit address).
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Default The default value is 20 minutes. 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 command to revert to default setting. Example This example shows how to set the ARP timeout to 60 minutes to allow entries to time out more quickly than the default setting.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# clear arp-cache all Switch# 9-4 ip address This command is used to set a primary or secondary IPv4 address for an interface, or acquire an IP address on an interface from the DHCP. Use the no command to remove the configuration of an IP address or disable DHCP on the interface. ip address {IP-ADDRESS SUBNET-MASK [secondary] | dhcp} no ip address [IP-ADDRESS SUBNET-MASK | dhcp] Parameters IP-ADDRESS Specifies the IP address.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 9-5 ip proxy-arp This command is used to enable the proxy ARP option for an interface. Use the no command to revert to the default setting. ip proxy-arp no ip proxy-arp Parameters None. Default By default, this option is disabled. Command Mode Interface Configuration Mode. Command Default Level Level: 12. Usage Guideline Use this command to configure the proxy ARP state for an interface.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Level: 12. Usage Guideline Use this command to enable the local proxy ARP function on an interface. This command is used in the primary VLAN of a private VLAN domain to enable routing of packets among secondary VLANs or isolated ports within the domain. The command only take effects when ip proxy arp is enabled. Example This example shows how to enable local proxy ARP on VLAN100.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch#show arp S - Static Entry IP Address ----------------S 10.31.7.19 10.90.90.90 Hardware Addr ----------------08-00-09-00-18-34 00-01-02-03-04-00 IP Interface ------------vlan1 vlan1 Age (min) --------------forever forever Total Entries: 2 Switch# 9-8 show arp timeout This command is used to display the aging time of Address Resolution Protocol (ARP) cache.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide show ip interface [INTERFACE-ID] [brief] Parameters INTERFACE-ID (Optional) Specifies to display information for the specified IP interface. brief (Optional) Specifies to display a summary of the IP interface information. Default None. Command Mode EXEC Mode or Any Configuration Mode. Command Default Level Level: 1. Usage Guideline If no parameter is specified, information for all the interfaces will be displayed.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 10. Basic IPv6 Commands 10-1 clear ipv6 neighbors This command is used to clear IPv6 neighbor cache dynamic entries. clear ipv6 neighbors {all | INTERFACE-ID} Parameters all Specifies to clear the dynamic neighbor cache entries associated with all interfaces. INTERFACE-ID Specifies to clear dynamic neighbor cache entries associated with the specified interface will be cleared. Default None. Command Mode Privileged EXEC Mode.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide PREFIX-NAME Specifies the name of the prefix with a maximum of 32 characters. The syntax allows characters for general strings, but does not allow spaces. SUB-BITS Specifies the sub-prefix part and host part of the IPv6 address. link-local Specifies a link-local address to be configured. Default None. Command Mode Interface Configuration Mode. Command Default Level Level: 12.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# configure terminal Switch(config)# interface vlan2 Switch(config-if)# no ipv6 address dhcp-prefix 0:0:0:2::3/64 10-3 ipv6 address eui-64 This command is used to configure an IPv6 address on the interface using the EUI-64 interface ID. Use the no form of the command to delete an IPv6 address formed by the EUI-64 interface ID.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Parameters rapid-commit Specifies to proceed with two-message exchange for address delegation. The rapid-commit option will be filled in the Solicit message to request two messages handshake. Default None. Command Mode Interface Configuration Mode. Command Default Level Level: 12. Usage Guideline Use this command to configure the interface to use DHCPv6 to get an IPv6 address.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide explicitly configured, the IPv6 link-local address is not generated and the IPv6 processing is not started. Use the ipv6 enable command to auto-generate the IPv6 link-local address and start the IPv6 processing on the interface. Example This example shows how to enable IPv6 on interface VLAN 1, which has no IPv6 address explicitly configured.
DGS-1510 Series Gigabit Ethernet SmartPro 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. MAC-ADDRESS Specifies the MAC address of the IPv6 neighbor cache entry. Default None. Command Mode Global Configuration Mode. Command Default Level Level: 12.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide EXEC Mode or Any Configuration Mode. Command Default Level Level: 1. Usage Guideline Use this command to display information of IPv6 general prefixes. Example This example shows how to display all IPv6 general prefix on the system.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# show ipv6 interface vlan2 vlan2 is up, Link status is down IPv6 is enabled, link-local address: FE80::201:1FF:FE02:305 Global unicast address: 200::2/64 (DHCPv6 PD) IP MTU is 1500 bytes RA advertised retransmit interval is 0 milliseconds Switch# This example shows how to display brief IPv6 interface information.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Usage Guideline 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 D REACH Total Entries: 1 Switch# Display Parameters Type D – Dynamic learning entry.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 11. Cable Diagnostics Commands 11-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. , (Optional) Specifies a series of interfaces, or separate a range of interfaces from a previous range. No space before and after the comma.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide show cable-diagnostics [interface INTERFACE-ID [,|-]] 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. - (Optional) Specifies a range of interfaces. No space before and after the hyphen. Default None.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide clear cable-diagnostics {all | interface INTERFACE-ID [,|-]} Parameters all 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. No space before and after the comma. - (Optional) Specifies a range of interfaces.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 12. Command Logging Commands 12-1 command logging enable This command is used to enable the command logging function. Use the no form of this command to disable the command logging function. command logging enable no command logging enable Parameters None. Default By default, this option is disabled. Command Mode Global Configuration Mode. Command Default Level Level: 12.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 13. Debug Commands 13-1 debug enable This command is used to enable the debug message output option. To disable the debug message output option, use the no form of this command. debug enable no debug enable Parameters None. Default By default, this option is disabled. Command Mode Global Configuration Mode. Command Default Level Level: 15. Usage Guideline Use this command to enable the debug message output option.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Default The default debug output is buffer. Command Mode Privileged EXEC Mode. Command Default Level Level: 15. Usage Guideline Use this command to set a specified module’s debug message output to debug to the buffer or the local console. Use the show debug output command to display the module’s string information. By default, module debug message is output to the debug buffer.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 13-4 debug copy This command is used to copy debug information to the destination filename. debug copy SOURCE-URL DESTINATION-URL debug copy SOURCE-URL {tftp: //LOCATION/DESTINATION-URL | ftp: //USERNAME:PASSWORD@LOCATION:TCP-PORT/DESTINATION-URL | rcp: //USERNAME@LOCATION/DESTINATION-URL} [vrf VRF-NAME] Parameters SOURCE-URL Specifies the source URL for the source file to be copied. It must be one of the following keywords.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide debug clear buffer Parameters None. Default None. Command Mode Privileged EXEC Mode. Command Default Level Level: 15. Usage Guideline Use this command to clear the debug buffer information. Example This example shows how to clear the debug buffer information. Switch# debug clear buffer Switch# 13-6 debug clear error-log This command is used to clear the error log information. debug clear error-log Parameters None. Default None.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 13-7 debug show buffer This command is used to display the content of the debug buffer or utilization information of the debug buffer. debug show buffer [utilization] Parameters utilization (Optional) Specifies to display the utilization of the debug buffer. If not specified, this will display the content in the buffer. Default None. Command Mode Privileged EXEC Mode or Any Configuration Mode. Command Default Level Level: 15.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide None. Default None. Command Mode Privileged EXEC Mode or Any Configuration Mode. Command Default Level Level: 15. Usage Guideline Use this command to display the information about the debug status and message output of the modules. Example This example shows how to display the debug message output information of the modules.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Example This example shows how to display error log information. Switch# debug show error log # debug log: 1 # level: fatal # clock: 10000ms # time : 2013/09/11 13:00:00 ====================== SOFTWARE FATAL ERROR ======================= Invalid mutex handle : 806D6480 Current TASK : bcmARL.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide None. Default None. Command Mode Privileged EXEC Mode or Any Configuration Mode. Command Default Level Level: 15. Usage Guideline Use this command to display technical support information. The technical support information is used to collect the Switch’s information needed by the engineers to troubleshoot or analyze a problem. Example This example shows how to display technical support information of all the modules.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 5 NOT EXIST 6 NOT EXIST *(S) means static box ID Temporary Topology: Stable Cnt : 48 Box Cnt : 1 Kept list SIOUnit index ID ------ ---Myself 0 1-1 NONE 2-1 NONE Hot Swap Type : Stable Topology Type : Duplex Chain PrioDevice Runtime Stacking rity MAC Type option version version ----- ----------------- ---------- ------ --------- ------32 32 00-01-02-03-04-00 DGS-1510-28P 0x0001 1.00.016 2.0.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Command Default Level Level: 15. Usage Guideline Use this command to display the information about CPU and task utilization. Example This example shows how to display the CPU utilization per process information. Switch#debug show cpu utilization Five seconds - 7 % Process Name ----------------OS_UTIL FAN_Pooling bcmL2X.0 GBIC_Pooling bcmCNTR.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch#debug show packet ports unit 1 sio1 UNIT ID 1 SIO 1: Frame Size/Type --------------rxHCTotalPkts rxHCUnicastPkts rxHCMulticastPkts rxHCBroadcastPkts rxHCOctets rxHCPkt64Octets rxHCPkt65to127Octets rxHCPkt128to255Octets rxHCPkt256to511Octets rxHCPkt512to1023Octets rxHCPkt1024to1518Octets rxHCPkt1519to2047Octets rxHCPkt2048to4095Octets rxHCPkt4096to9216Octets txHCTotalPkts txHCUnicastPkts txHCMulticastPkts txHCBroadcastPkts txHCOctets
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Command Mode Privileged EXEC Mode. Command Default Level Level: 15. Usage Guideline Use this command to display the error statistics information of the SIO ports. Example This example shows how to display the error statistics information of the SIO ports.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 14. DHCP Auto-Configuration Commands 14-1 autoconfig enable This command is used to enable the auto-configuration function. Use the no form of the command to disable the auto-configuration function. autoconfig enable no autoconfig enable Parameters None. Default By default, this option is disabled. Command Mode Global Configuration Mode. Command Default Level Level: 15.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Default None. Command Mode EXEC Mode or Any Configuration Mode. Command Default Level Level: 1. Usage Guideline This command is used to display the status of the auto-configuration. Example This example shows how to display the status of the auto-configuration.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 15. DHCP Client Commands 15-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 STRING Specifies the vendor class identifier in the string form. The maximum length of the string is 32.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide no ip dhcp client client-id Parameters INTERFACE-ID Specifies the VLAN interface, whose hexadecimal MAC address will be used as the client ID to be sent with the discover message. Default The MAC address of the VLAN will be used as the client ID. Command Mode Interface Configuration Mode. Command Default Level Level: 12.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Level: 12. Usage Guideline Use this command to specify the host name string (Option 12) to be sent with the DHCP discover message. The specification only applies to the subsequent sending of the DHCP discover messages. The setting only takes effect when the DHCP client is enabled on the interface to acquire the IP address from the DHCP server. If this option is not configured, the Switch will be sent messages with no Option 12 configured.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# configure terminal Switch(config)# interface vlan 100 Switch(config-if)# ip address dhcp Switch(config-if)# ip dhcp client lease 5 Switch(config-if)# 150
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 16. DHCP Relay Commands 16-1 class (DHCP relay) This command is used to enter the DHCP pool configuration mode and associate a range of IP addresses with the DHCP class. Use the no form of the command to remove the association. class NAME no class NAME Parameters NAME Specifies the DHCP class name with a maximum of 32 characters. Default None. Command Mode DHCP Pool Configuration Mode. Command Default Level Level: 12.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide ip dhcp class NAME no ip dhcp class NAME Parameters NAME Specifies the DHCP class name with a maximum of 32 characters. Default None. Command Mode Global Configuration Mode. Command Default Level Level: 12. Usage Guideline Use this command to enter the DHCP class configuration mode. In the mode, the user can use the option hex command to define the option matching pattern for the DHCP class.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide In addition to DHCP relay packets, the relay destination of the DHCP server can be specified in the DHCP relay pool. To do this, use the ip dhcp pool command to enter the DHCP pool configuration, use the relay source command to specify the source subnet of the client requests, and use the relay destination command to specify the relay destination server address.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide When the check for Option 82 of the reply packet is enabled, the device will check the validity of the Option 82 field in DHCP reply packets it receives from the DHCP server. If the Option 82 field in the received packet is not present or the option is not the original option inserted by the agent (by checking the remote ID sub-option, the relay agent drops the packet.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide This example shows how to disable the global DHCP relay agent check but enables the DHCP relay agent check for the VLAN 100. The effect state of the check function for VLAN100 is enabled.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Parameters none (Optional) Specifies to disable insertion of Option 82 in the relayed packet. Default None. Command Mode Interface Configuration Mode. Command Default Level Level: 12. Usage Guideline This command takes effect when the DHCP service is enabled. Example This example shows how to enable the insertion of Option 82 during the relay of DHCP request packets and disables the insertion of Option 82 for interface VLAN 100.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Level: 12. Usage Guideline The command only takes effect when the DHCP service is enabled. Use this command to configure the global policy for the insertion of Option 82 on packets that already have Option 82. Example This example shows how to configure the relay agent option re-forwarding policy to keep.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# configure terminal Switch(config)# ip dhcp relay information policy keep Switch(config)# interface vlan 100 Switch(config-if)# ip dhcp relay information policy-action drop Switch(config-if)# 16-10 ip dhcp relay information option format remote-id This command is used to configure the DHCP information remote ID sub-option. Use the no form of the command to configure the default remote ID sub-option.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 16-11 ip dhcp relay information option format-type remote-id This command is used to configure the DHCP information remote ID sub-option of vendor format string in interface configuration mode. ip dhcp relay information option format-type remote-id vendor3 string STRING no ip dhcp relay information option format-type remote-id vendor3 Parameters Vendor3 Specifies the vendor 3 user-defined string with the maximum 32 characters.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide characters are allowed in the string. vendor1 Specifies to use vender1. vendor2 Specifies to use vender2. vendor3 Specifies to use vender3. vendor4 Specifies to use vender4. vendor5 Specifies to use vender5. vendor6 Specifies to use vender6. Default The circuit ID format is VLAN ID, module number and port number. Command Mode Global Configuration Mode. Command Default Level Level: 12.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Default None. Command Mode Interface Configuration Mode. Command Default Level Level: 12. Usage Guideline This command is used to configure each interface’s vendor defined string for option 82 information circuit ID. It is available for both physical port and port channel interface configuration. Example This example shows how to define vendor3 circuit-id of “aabbcc” in interface eth3/0/3.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide This example shows how to enable the DHCP relay agent to trust IP DHCP relay information for all interfaces. The DHCP relay agent trusts the relay information for all interfaces regardless of what the setting of ip dhcp relay information trusted command.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide ip dhcp local-relay vlan VLAN-ID [, | -] no ip dhcp local-relay vlan VLAN-ID [, | -] Parameters vlan VLAN-ID Specifies the VLAN used. , (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. Default By default, this option is disabled.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Command Default Level Level: 12. Usage Guideline When the received interface of the packet has secondary addresses, by default, the relay agent set the gateway address field of the packet to the primary address of the interface. When smart relay is enabled, relay agent will count the number that a client retries sending of the DISCOVER message.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide matches any of the specified pattern of a DHCP class, the packet will be classified to the DHCP class and forwarded based on the specified target. The following are some common used option codes: • • • • • Option 60: vendor class identifier. Option 61: client identifier. Option 77: user class. Option 124: vendor-identifying vendor class. Option 125: vendor-identifying vendor-specific information.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide In a DHCP relay pool, administrators can further use the class command and the relay target command to associate a list of relay target addresses with a DHCP class. Example This example shows how a DHCP relay pool “pool1” is created. In the relay pool, the subnet 172.19.10.0/255.255.255.0 is specified as the source subnet and 10.2.1.1 is specified as the relay destination address.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide This example shows how a DHCP relay pool “pool2” is created. In the relay pool, the subnet 172.19.18.0.0/255.255.255.0 is specified as the source subnet and 10.2.1.10 is specified as the relay destination address. Switch# configure terminal Switch(config)# ip dhcp pool pool2 Switch(config-dhcp-pool)# relay source 172.19.18.0 255.255.255.0 Switch(config-dhcp-pool)# relay destination 10.2.1.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# configure terminal Switch(config)# ip dhcp class Service-A Switch(config-dhcp-class)# option 60 hex 112233 Switch(config-dhcp-class)# option 60 hex 102030 Switch(config-dhcp-class)#exit Switch(config)# ip dhcp pool pool1 Switch(config-dhcp-pool)# relay source 172.19.18.0 255.255.255.0 Switch(config-dhcp-pool)# class Service-A Switch(config-dhcp-pool-class)# relay target 10.2.1.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide None. Default None. Command Mode EXEC Mode or Any Configuration Mode. Command Default Level Level: 1. Usage Guideline Use this command to display the effective setting of the trust relay information option function. Example This example shows how to use this command. Note that the display output lists the interfaces that are configured to be trusted sources.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Level: 1. Usage Guideline Use this command to display relay information options with insert configuration information. Example This example shows how to displays relay information Option 82 option and insert configuration information for all VLANs.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# show ip dhcp relay information policy-action Interface Policy ------------ ---------vlan1 Keep vlan2 Drop vlan3 Replace vlan4 Not configured Total Entries: 4 Switch# 171
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 17. DHCP Snooping Commands 17-1 ip dhcp snooping This command is used to globally enable DHCP snooping. Use the no command to disable DHCP snooping. ip dhcp snooping no ip dhcp snooping Parameters None. Default By default, this option is disabled. Command Mode Global Configuration Mode. Command Default Level Level: 12.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Command Mode Global Configuration Mode. Command Default Level Level: 12. Usage Guideline The DHCP snooping function validates the DHCP packets when it arrives at the port on the VLAN that is enabled for DHCP snooping. By default, the validation process will drop the packet if the gateway address is not equal to 0 or Option 82 is present. Use this command to allow packets with the relay Option 82 arriving at the untrusted interface.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide NOTE: The flash only includes the external memory like CF/SD/USB storage. Use this command to save the DHCP snooping binding database in the stack switch. The database is not saved in a stack member switch. The lease time of the entry will not be modified and the live time will continue to be counted while the entry is provisioned. Example This example shows how to store the binding entry to a file in the file system.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide clear ip dhcp snooping binding [MAC-ADDRESS] [IP-ADDRESS] [vlan VLAN-ID] [interface INTERFACE-ID] Parameters MAC-ADDRESS Specifies the MAC address to clear. IP-ADDRESS Specifies the IP address to clear. vlan VLAN-ID Specifies the VLAN ID to clear. interface INTERFACE-ID Specifies the interface to clear. Default None. Command Mode Privileged EXEC Mode. Command Default Level Level: 12.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Example This example shows how to renew the DHCP snooping binding database. Switch# renew ip dhcp snooping database tftp: //10.0.0.2/store/dhcp-snp-bind Switch# 17-7 ip dhcp snooping binding This command is used to manually configure a DHCP snooping entry. ip dhcp snooping binding MAC-ADDRESS vlan VLAN-ID IP-ADDRESS interface INTERFACE-ID expiry SECONDS Parameters MAC-ADDRESS Specifies the MAC address of the entry to add or delete.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 17-8 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 return to the default setting. ip dhcp snooping trust no ip dhcp snooping trust Parameters None. Default By default, this option is disabled. Command Mode Interface Configuration Mode. Command Default Level Level: 12.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 17-9 ip dhcp snooping limit entries This command is used to configure the number of the DHCP snooping binding entries that an interface can learn. Use the no command to reset the DHCP message entry limit. ip dhcp snooping limit entries NUMBER no ip dhcp snooping limit entries Parameters NUMBER Specifies the number of DHCP snooping binding entries limited on a port. The range of value is from 0 to 1024.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Command Mode Interface Configuration Mode. Command Default Level Level: 12. Usage Guideline When the rate of the DHCP packet exceeds the limitation, the port will be changed to the error disable state. Example This example shows how to configure number of DHCP messages that a switch can receive per second on port 3/0/3.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# configure terminal Switch(config)# ip dhcp snooping Switch(config)# ip dhcp snooping vlan 10 Switch(config)# ip dhcp snooping station-move deny Switch(config)# 17-12 ip dhcp snooping verify mac-address This command is used to enable the verification that the source MAC address in a DHCP packet matches the client hardware address. Use the no command to disable the verification of the MAC address.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide vlan VLAN-ID Specifies the VLAN to enable or disable the DHCP snooping function. , (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. Default By default, DHCP snooping is disabled on all VLANs. Command Mode Global Configuration Mode.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Command Default Level Level: 1. Usage Guideline Use this command to display DHCP snooping configuration settings. Example This example shows how to display DHCP snooping configuration settings.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide EXEC Mode or Any Configuration Mode. Command Default Level Level: 1. Usage Guideline Use this command to display DHCP snooping binding entries. Example This example shows how to display DHCP snooping binding entries. Switch# show ip dhcp snooping binding MAC Address IP Address Lease(seconds) Type VLAN ----------------- --------------- ------------- -------------- -----00-01-02-03-04-05 10.1.1.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# show ip dhcp snooping binding 10.1.1.11 00-01-02-00-00-05 vlan 100 MAC Address IP Address Lease (seconds) ----------------- --------------- ---------------00-01-02-03-04-05 10.1.1.1 1500 Type VLAN Interface -------------- ------ ----------dhcp-snooping 100 eth3/0/5 Total Entries: 1 Switch# This example shows how to display DHCP snooping binding entries by VLAN 100.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide show ip dhcp snooping database Parameters None. Default None. Command Mode EXEC Mode or Any Configuration Mode. Command Default Level Level: 1. Usage Guideline Use this command to display DHCP snooping database statistics. Example This example shows how to display DHCP snooping database statistics. Switch# show ip dhcp snooping database URL: tftp://10.0.0.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide no based-on hardware-address CLIENT-HARDWARE-ADDRESS Parameters CLIENT-HARDWAREADDRESS (Optional) Specifies the MAC address of the client. Default None. Command Mode Configure DHCP Server Screen Mode. Command Default Level Level: 12. Usage Guideline If a binding entry is defined with the client’s MAC address, then the server message with the specified server IP address and client address in the payload will be permitted.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 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. The subsequent packets belonging to the same session will not be sent to log module unless its record in the log buffer is cleared.
DGS-1510 Series Gigabit Ethernet SmartPro 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.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Parameters 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.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Use this command to display the content of the DHCP server screen log buffer. The buffer keeps the information of server messages that violates the screening. The number of occurrences of the same violation and the latest time of the occurrence are tracked. Example This example shows how to display the DHCP server screen log buffer.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 18. DHCPv6 Client Commands 18-1 clear ipv6 dhcp client This command is used to restart the DHCPv6 client on an interface. clear ipv6 dhcp client INTERFACE-ID Parameters INTERFACE-ID Specifies the VLAN interface to restart the DHCPv6 client. Default None. Command Mode Privileged EXEC Mode. Command Default Level Level: 12. Usage Guideline Use this command to restart the IPv6 DHCP client on the specified interface.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Command Mode Interface Configuration Mode. Command Default Level Level: 12. Usage Guideline Use this command to enable the prefix delegation request through an interface. The interface being configured will be in DHCP client mode. The prefix acquired from the server will be stored in the IPv6 general prefix pool represented by the general prefix name of the command, which will be in turn used in configuration of IPv6 addresses.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Use this command to display the device’s DHCPv6 DUID or use the show ipv6 dhcp interface command to display DHCPv6 related setting for interfaces. If the interface ID is not specified, all interfaces with the DHCPv6 function will be displayed. Example This example shows how to display the DHCPv6 DUID for the device. Switch# show ipv6 dhcp This device's DUID is 0001000111A8040D001FC6D1D47B.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 19. DHCPv6 Guard Commands 19-1 ipv6 dhcp guard policy This command is used to create or modify a DHCPv6 guard policy. This command will enter into the DHCPv6 guard configuration mode. Use the no command to remove the DHCPv6 guard policy. ipv6 dhcp guard policy POLICY-NAME no ipv6 dhcp guard policy POLICY-NAME Parameters POLICY-NAME Specifies the DHCPv6 guard policy name. Default None. Command Mode Global Configuration Mode.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide server messages are dropped on this port. server Specifies that the attached device is a DHCPv6 server. DHCPv6 server messages are allowed on this port. Default By default, this option is client. Command Mode DHCPv6 Guard Policy Configuration Mode. Command Default Level Level: 12. Usage Guideline The command is used to specify the role of the attached device.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Example This example shows how to create a DHCPv6 guard policy and matches the IPv6 addresses in the access list named list1. Switch# configure terminal Switch(config)# ipv6 dhcp guard policy dhcp_filter1 Switch(config-dhcp-guard)# match ipv6 access-list list1 Switch(config-dhcp-guard)# 19-4 ipv6 dhcp guard attach-policy This command is used to apply a DHCPv6 guard policy on the specified interface.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Parameters POLICY-NAME (Optional) Specifies the DHCPv6 guard policy name. Default None. Command Mode EXEC Mode or Any Configuration Mode. Command Default Level Level: 1. Usage Guideline If the policy name is specified, only the specified policy information is displayed. If the policy name is not specified, information is displayed for all policies. Example This example shows how to displayed for all policies.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 20. DHCPv6 Relay Commands 20-1 ipv6 dhcp relay destination This command is used to enable the DHCP for IPv6 relay service on the interface and specify a destination address to which client messages are forwarded to. Use the no form of the command to remove a relay destination.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 20-2 ipv6 dhcp relay remote-id format This command is used to configure the sub-type of the remote ID. Use the no form of this command to revert to the default settings. ipv6 dhcp relay remote-id format SUB-TYPE-NAME no ipv6 dhcp relay remote-id format Parameters SUB-TYPE-NAME Specifies the string that identifies the sub-type for the remote ID to be configured. Default None. Command Mode Global Configuration Mode.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Usage Guideline The command is used to enable the insertion of the DHCPv6 relay agent Remote ID option function. Example This example shows how to enable the insertion of the DHCPv6 relay agent remote ID option. Switch# configure terminal Switch(config)# ipv6 dhcp relay remote-id option Switch(config)# 20-4 ipv6 dhcp relay remote-id policy This command is used to configure the Option 37 forwarding policy for the DHCPv6 relay agent.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 20-5 ipv6 dhcp relay remote-id udf This command is used to configure the User Define Field (UDF) for remote ID. ipv6 dhcp relay remote-id udf {ascii STRING | hex HEX-STRING} Parameters ascii STRING Specifies the ASCII string (a maximum of 128 characters) for the UDF of the Remote ID. hex HEX-STRING Specifies the hexadecimal string (a maximum of 256 digits) for the UDF of the Remote ID. Default None.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Command Mode EXEC Mode or Any Configuration Mode. Command Default Level Level: 1. Usage Guideline Use this command to display the device’s DHCPv6 DUID or use the show ipv6 dhcp interface command to display DHCPv6 related settings and information for the specified VLAN interface. If the interface ID is not specified, all interfaces that are enabled for the DHCPv6 function will be displayed.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Example This example shows how to display the DHCPv6 relay remote ID setting.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 21. Digital Diagnostics Monitoring (DDM) Commands 21-1 show interfaces transceiver This command is used to display the current SFP module operating parameters. show interfaces [INTERFACE-ID [,|-] transceiver [detail] Parameters INTERFACE-ID [,|-] (Optional) Specifies multiple interfaces for transceiver monitoring status display. If no interface ID is specified, transceiver monitoring statuses on all valid interfaces are displayed.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide This example shows how to display detailed transceiver monitoring information for all ports which are valid for transceiver monitoring. Switch# show interfaces transceiver detail ++ : high alarm, + : high warning, - : low warning, -- : low alarm mA: milliamperes, mW: milliwatts A: The threshold is administratively configured.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch#configure terminal Switch(config)#snmp-server enable traps transceiver-monitoring warning Switch(config)# 21-3 transceiver-monitoring action shutdown This command is used to shut down a port from an alarm or a warning of an abnormal status. Use the no form of the command to disable the shutdown action.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Parameters INTERFACE-ID Specifies the interface to modify. high Specifies the high threshold, when the operating parameter rises above this value. It indicates an abnormal status. low Specifies the low threshold, when the operating parameter falls below this value. It indicates an abnormal status. alarm Specifies the threshold for high alarm or low alarm conditions.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide transceiver-monitoring enable no transceiver-monitoring enable Parameters None. Default By default, this option is disabled. Command Mode Interface Configuration Mode. Command Default Level Level: 12. Usage Guideline This command is available for the physical port interface configuration. A user can use this command to enable or disable optical transceiver monitoring function for an SFP port.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide low Specifies that when the operating parameter falls below the low threshold this value, it indicates an abnormal status. alarm Specifies to configure the high and low threshold value condition. warning Specifies to configure the high and low warning threshold conditions. mwatt VALUE Specifies the power threshold value in milliwatts. This value must be between 0 and 6.5535. dbm VALUE Specifies the power threshold value in dBm.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide threshold value, it indicates an abnormal status. low Specifies that when the operating parameter falls below this low threshold value, it indicates an abnormal status. alarm Specifies to configure the high and low threshold value condition. warning Specifies to configure the high and low warning threshold conditions. VALUE Specifies the threshold value. This value must be between -128 and 127.996 °C. Default None.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Parameters high Specifies the interface to modify. low Specifies that when the operating parameter rises above this high threshold value, it indicates an abnormal status. alarm Specifies that when the operating parameter falls below this low threshold value, it indicates an abnormal status. warning Specifies to configure the high and low warning threshold conditions. mwatt VALUE Specifies the power threshold value in milliwatts.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Parameters INTERFACE-ID Specifies the interface to modify. high Specifies that when the operating parameter rises above the highest threshold, it indicates an abnormal status. low Specifies that when the operating parameter falls below this low threshold value, it indicates an abnormal status. alarm Specifies to configure the high and low threshold value condition.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 22. D-Link Discovery Protocol (DDP) Client Commands 22-1 ddp This command is used to enable DDP client function globally or on the specified ports. Use the no form of the command to disable DDP client. ddp no ddp Parameters None. Default By default, this option is enabled. Command Mode Global Configuration Mode. Interface Configuration Mode. Command Default Level Level: 12.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide ddp report-timer {30| 60| 90|120 |Never} no ddp report-timer Parameters 30 Specifies the report interval to 30 seconds. 60 Specifies the report interval to 60 seconds. 90 Specifies the report interval to 90 seconds. 120 Specifies the report interval to 120 seconds. Never Specifies to stop sending report message. Default By default, this option is 30 seconds. Command Mode Global Configuration Mode.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Use this command to display the switch DDP configuration information. Example This example shows how to display DDP global information. 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.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 23. Domain Name System (DNS) Commands 23-1 clear host This command is used to clear the dynamically learned host entries in the privileged user mode. clear host {all | [HOST-NAME]} Parameters all Specifies to clear all host entries. HOST-NAME (Optional) Specifies to delete the specified dynamically learned host entry. Default None. Command Mode Privileged EXEC Mode. Command Default Level Level: 12.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Command Default Level Level: 12. Usage Guideline The system supports the DNS caching name server function. When the caching name server function is enabled and IP domain-lookup, the system forwards the DNS query packet to the configured name server. The answer replied by the name server will be cached and used to answer the subsequent queries. Example This example shows how to enable the DNS caching name server function.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# configure terminal Switch(config)# ip dns lookup static Switch(config)# 23-4 ip domain lookup This command is used to enable the DNS to carry out the domain name resolution. Use the no form of this command to disable the DNS domain name resolution function. ip domain lookup no ip domain lookup Parameters None. Default By default, this option is disabled. Command Mode Global Configuration Mode. Command Default Level Level: 12.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide IPV6-ADDRESS Specifies the IPv6 address of the equipment. Default None. Command Mode Global Configuration Mode. Command Default Level Level: 12. Usage Guideline The host name specified in this command needs to be qualified. To delete a static host entry, use the no command. Example This example shows how to configure the mapping of the host name “www.abc.com” and the IP address 192.168.5.243.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide configured, the servers configured later will be added to the server list. The user can configure up to 4 name servers. Example This example shows how to configure the domain name server 192.168.5.134 and 5001:5::2. Switch# configure terminal Switch(config)# ip name-server 192.168.5.134 5001:5::2 Switch(config)# 23-7 ip name-server timeout This command is used to configure the timeout value for the name server.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Default None. Command Mode EXEC Mode or Any Configuration Mode. Command Default Level Level: 1. Usage Guideline Use this command to display DNS related configuration information. Example This example shows how to display DNS related configuration information. Switch# show hosts Number of Static Entries: 2 Number of Dynamic Entries: 1 Host Name: www.yes.com IP Address: 10.0.0.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Level: 1. Usage Guideline Use this command to display the DNS related configuration information. Example This example shows how to display the DNS related configuration information. Switch# show ip name_server Name Name Name Name servers servers servers servers are: are: are: are: 1.1.1.1 1000::1 2.2.2.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 24. DoS Prevention Commands 24-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 DOS-ATTACK-TYPE Specifies the string that identifies the DoS type to be configured. Default By default all supported DoS types are disabled.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide • All: All of above types. Example This example shows how to enable the DoS prevention mechanism for land attack. Switch# configure terminal Switch(config)# dos-prevention land Switch(config)# This example shows how to enable the DoS prevention mechanism on all supported types.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# show dos-prevention DoS Prevention Information DoS Type --------------------------------------Land Attack Blat Attack TCP Null TCP Xmas TCP SYN-FIN TCP SYN SrcPort Less 1024 Ping of Death Attack TCP Tiny Fragment Attack State -------------Enabled Enabled Disabled Disabled Disabled Disabled Disabled Disabled Switch# This example shows how to display the specified type configuration information of the DoS prevention.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch#configure terminal Switch(config)# snmp-server enable traps dos-prevention Switch(config)# 226
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 25. Dynamic ARP Inspection Commands 25-1 arp access-list This command is used to create or modify an ARP access list. This command will enter into the ARP access-list configuration mode. Use the no command to remove an ARP access-list. arp access-list NAME no arp access-list NAME Parameters NAME Specifies the name of the ARP access-list to be configured. The maximum length is 32 characters. Default None.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Privileged EXEC Mode. Command Default Level Level: 12. Usage Guideline Use this command to clear the ARP inspection log buffer. Example This example shows how to clear the inspection log. Switch# clear ip arp inspection log Switch# 25-3 clear ip arp inspection statistics This command is used to clear the dynamic ARP inspection statistics.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Parameters ARP-ACL-NAME Specifies the access control list name with a maximum of 32 characters. vlan VLAN-ID Specifies the VLAN associated with the ARP access list. , (Optional) Specifies a series of interfaces, or separate a range of interfaces from a previous range. No space is allowed before and after the comma. - (Optional) Specifies a range of interfaces. No space is allowed before and after the hyphen.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide rate VALUE Specifies the maximum number of the ARP packets that can be processed. The valid range is from 1 to 150 seconds. burst interval SECONDS (Optional) Specifies the length of the burst duration of the ARP packets that is allowed. The valid range is from 1 to 15. If not specified, the default setting is one second. none Specifies that there is no limit on the ARP packet rate.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Usage Guideline Use the command to configure the maximum entry number of the log buffer. The ARP inspection log buffer keeps tracks the information of ARP packet. The first packet that is given by check will be sent to syslog module and recorded in the inspection log buffer. The subsequent packets belonging to the same session will not be sent to log module unless its record in the log buffer is cleared.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 25-8 ip arp inspection validate This command is used to specify the additional checks to be performed during an ARP inspection check. Use the no form of the command to remove specific additional check.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide no ip arp inspection vlan VLAN-ID [, | -] Parameters vlan VLAN-ID Specifies the VLAN to enable or disable the ARP inspection function. , (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.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide - (Optional) Specifies a range of interfaces. No space is allowed before and after the hyphen. acl-match Specifies the logging criteria for packets that are dropped or permitted based on ACL matches. acl-match permit Specifies logging when permitted by the configured ACL. acl-match all Specifies logging when permitted or denied by the configured ACL. acl-match none Specifies that ACL-matched packets are not logged.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide ip host SENDER-IP Specifies to match a single source IP address. SENDER-IP SENDER-IPMASK Specifies to match a group of source IP addresses by using a bitmap mask. The bit corresponding to bit value 1 will be checked. The input format is the same as IP address. mac any Specifies to match any source MAC address. mac host SENDER-MAC Specifies to match a single source MAC address.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Command Mode EXEC Mode or Any Configuration Mode. Command Default Level Level: 1. Usage Guideline This command is used to display the status of DAI for a specific range of VLANs. Example This example shows how to display the statistics of packets that have been processed by DAI for VLAN 10.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# show ip arp inspection statistics VLAN ----1 2 10 100 200 1024 VLAN ----1 2 10 100 200 1024 VLAN ----1 2 10 100 200 1024 Forwarded Dropped DHCP Drops ACL Drops ---------------------------------0 0 0 0 0 0 0 0 21546 145261 145261 0 0 0 0 0 0 0 0 0 0 0 0 0 DHCP Permits ACL Permits Source MAC Failures ---------------------------------------0 0 0 0 0 0 21546 0 0 0 0 0 0 0 0 0 0 0 Dest MAC Failures IP Validation Failures --------------
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# show ip arp inspection Source MAC Validation : Disabled Destination MAC Validation: Disabled IP Address Validation : Disabled VLAN State ACL Match Static ACL ----- ------------- ------------------------------- ---------10 Enabled VLAN ACL Logging DHCP Logging ----- ----------- ---------10 Deny Deny Switch# Display Parameters VLAN The VLAN ID that enables ARP inspection. Configuration The configuration state of ARP inspection.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# show ip arp inspection interfaces eth3/0/3 Interface --------eth3/0/3 Trust State ----------untrusted Rate(pps) --------30 Burst Interval -------------5 Switch# This example shows how to display the trust state of interfaces on the Switch.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide None. Command Mode EXEC Mode or Any Configuration Mode. Command Default Level Level: 1. Usage Guideline Use this command to display the content of the inspection log buffer. Example This example shows how to display the inspection log-buffer.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 26. Error Recovery Commands 26-1 errdisable recovery This command is used to enable the error recovery for causes and to configure the recovery interval. Use the no command to disable the auto-recovery option or to return interval to the default setting for causes.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# configure terminal Switch(config)# errdisable recovery cause psecure-violation interval 200 Switch(config)# This example shows how to enable the auto-recovery option for port security violations. Switch# configure terminal Switch(config)# errdisable recovery cause psecurity-violation Switch(config)# 26-2 show errdisable recovery This command is used to display the error-disable recovery timer related settings.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# show errdisable recovery ErrDisable Cause ----------------psecure-violation storm-control arp-rate dhcp-rate loopback-detect State ----------enabled disabled disabled disabled disabled Interval ----------200 seconds 300 seconds 1000 seconds 1000 seconds 1000 seconds Interfaces that will be recovered at the next timeout: Interface --------eth1/0/4 Errdisable Cause ----------------psecure-violation Time left(sec) -------------17
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide The snmp-server enable traps errdisable notification-rate and no snmp-server enable traps errdisable notification-rate commands only affect the setting of notification-rate, but not the state of the sending notifications for the error disabled state. Example This example shows how to to enable sending traps for entering into and exiting from the error disabled state and set the number of traps per second to 3.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 27. File System Commands 27-1 cd This command is used to change the current directory. cd [DIRECTORY-URL] Parameters DIRECTORY-URL Specifies the URL of the directory. If not specified, the current directory will be shown. Default The default current directory is the root directory on the file system of the local FLASH. Command Mode EXEC Mode. Command Default Level Level: 1.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# cd Current directory is /c:/log Switch# 27-2 delete This command is used to to delete a file. delete FILE-URL Parameters FILE-URL Specifies the name of the file to be deleted. Default None. Command Mode Privileged EXEC Mode. Command Default Level Level: 15. Usage Guideline The firmware image or the configuration file that is specified as the boot-up file cannot be deleted.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide None. Command Mode EXEC Mode. Command Default Level Level: 1. Usage Guideline If URL is not specified, the current directory is used. By default, the current directly is located at the root of the file system located at local flash. The storage media is mounted in the file system and appears to the user as a sub-directory under the root directory.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# mkdir newdir Switch# 27-5 more This command is used to display the contents of a file. more FILE-URL Parameters FILE-URL Specifies the URL for the file to be displayed. Default None. Command Mode Privileged EXEC Mode. Command Default Level Level: 15. Usage Guideline Use this command to display the contents of a file in the file system. The command is usually used to display text files.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide rename FILE-URL1 FILE-URL2 Parameters FILE-URL1 Specifies the URL for the file to be renamed. FILE-URL2 Specifies the URL after file renaming. Default None. Command Mode Privileged EXEC Mode. Command Default Level Level: 15. Usage Guideline A file can be renamed to a file located either within the same directory or to another directory. Example This example shows how to rename file called “doc.1” to “test.txt”.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Example This example shows how to remove a directory called “newdir” under the current directory. Switch# rmdir newdir Remove directory newdir? (y/n) [n] y The directory is removed Switch# 27-8 show storage media-info This command is used to display the storage media’s information. show storage media-info [unit UNIT-ID] Parameters unit UNIT-ID (Optional) Specifies the unit ID in the stacking system.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 28. Filter Database (FDB) Commands 28-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.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide SECONDS Specifies the aging time in seconds. The valid range is 0 or 10 to 1000000 seconds. Setting the aging time to 0 will disable the MAC address table aging out function. 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.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Example This example shows how to enable the destination MAC address triggered update function. Switch# configure terminal Switch(config)# mac-address-table aging destination-hit Switch(config)# 28-4 mac-address-table learning This command is used to enable MAC address learning on the physical port. Use the no form of the command to disable learning.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide no mac-address-table notification change [interval | history-size] Parameters interval SECONDS (Optional) Specifies the interval of sending the MAC address trap message. The range is 1 to 2147483647 and the default value is 1 second. history-size VALUE (Optional) Specifies the maximum number of the entries in the MAC history notification table. The range is 0 to 500 and the default value is 1 entry.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide specified interface. vlan VLAN-ID Specifies the VLAN of the entry. The range is 1 to 4094. interface INTERFACE-ID Specifies the forwarding ports. , (Optional) Specifies a series of interfaces, or separate a range of interfaces from a previous range. No spaces are allowed before and after the comma. - (Optional) Specifies a range of interfaces. No spaces are allowed before and after the hyphen.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide multicast filtering-mode {forward-all | forward-unregistered | filter-unregistered} no multicast filtering-mode Parameters 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.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide interfaces include physical ports and port-channels. vlan VLAN-ID (Optional) Specifies the VLAN ID. The valid values are from 1 to 4094. Default None. Command Mode EXEC Mode or Any Configuration Mode. Command Default Level Level: 1.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# show mac-address-table vlan 1 VLAN MAC Address Type Ports --------------------------------------------------1 00-02-4B-28-C4-82 Static CPU 1 00-03-40-11-22-33 Dynamic eth1/0/2 Total Entries: 2 Switch# 28-9 show mac-address-table aging-time This command is used to display the MAC address table’s aging time. show mac-address-table aging-time Parameters None. Default None. Command Mode EXEC Mode or Any Configuration Mode.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide INTERFACE-ID (Optional) Specifies the interface to be display. , (Optional) Specifies a series of interfaces, or separate a range of 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.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Default None. Command Mode EXEC Mode or Any Configuration Mode. Command Default Level Level: 1. Usage Guideline If no option is specified, the global configuration will be displayed. Use the interface keyword to display information about all interfaces. If the interface ID is included, the specified interface will be displayed.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch#show mac-address-table notification change MAC Notification Change Feature: Disabled Interval between Notification Traps: 1 seconds Maximum Number of Entries Configured in History Table: 1 Current History Table Length: 0 MAC Notification Trap State: Disabled Switch# This example shows how to display the MAC address notification history.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch#show multicast filtering-mode Interface -------------------------------default Layer 2 Multicast Filtering Mode -------------------------------forward-unregistered Total Entries: 1 Switch# 28-13 snmp-server enable traps mac-notification change This command is used to enable the sending of SNMP MAC notification traps. Use the no form of the command to disable the sending of SNMP MAC notification traps.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Parameters added Specifies to enable the MAC change notification when a MAC address is added on the interface. removed Specifies to enable the MAC change notification when a MAC address is removed from the interface. Default By default, this option is disabled. Command Mode Interface Configuration Mode. Command Default Level Level: 12.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 29. GARP VLAN Registration Protocol (GVRP) Commands 29-1 clear gvrp statistics This command is used to clear the statistics for a GVRP port. clear gvrp statistics {all | interface INTERFACE-ID [, | -]} Parameters all Specifies to clear GVRP statistic counters associated with all interfaces. interface INTERFACE-ID [,|-] Specifies the interfaces.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Command Mode Global Configuration Mode. Command Default Level Level: 12. Usage Guideline Administrators can enable the global GVRP state and individual port’s GVRP state to start GVRP on the port. Example This example shows how to enable the GVRP protocol global state. Switch# configure terminal Switch(config)# gvrp global Switch(config)# 29-3 gvrp enable This command is used to enable the GVRP function on a port.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 29-4 gvrp advertise This command is used to specify the VLAN that are allowed to be advertised by the GVRP protocol. Use the no command to disable the VLAN advertisement function. gvrp advertise {all | [add | remove] VLAN-ID [, | -]} no gvrp advertise Parameters all Specifies that all VLANs are advertised on the interface. add (Optional) Specifies a VLAN or a list VLANs to be added to advertise the VLAN list.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide gvrp vlan create no gvrp vlan create Parameters None. Default By default, this option is enabled. Command Mode Global Configuration Mode. Command Default Level Level: 12. Usage Guideline When dynamic VLAN creation is enabled, if a port has learned a new VLAN membership and the VLAN does not exist, the VLAN will be created automatically. Otherwise, the newly learned VLAN will not be created.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide comma. - (Optional) Specifies a range of VLANs. No spaces are required before and after the hyphen. Default No VLANs are forbidden. Command Mode Interface Configuration Mode. Command Default Level Level: 12. Usage Guideline The command is available for both physical ports and port-channel interface configuration. As a forbidden port of a VLAN, a port is forbidden from becoming a member port of the VLAN via the GVRP operation.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Leave: 60. Leave-all: 1000. Command Mode Interface Configuration Mode. Command Default Level Level: 12. Usage Guideline This command is used to configure the GVRP timer value on a port. Example This example shows how to configure the leave-all timer to 500 hundredths of a second on interface eth1/0/1.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# show gvrp configuration Global GVRP State : Enabled Dynamic VLAN Creation : Disabled Switch# This example shows how to display the GVRP configuration on interfaces eh3/0/5 to eth3/06.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide This command only displays the ports which have the GVRP state enabled. Example This example shows how to display statistics for GVRP interfaces eth3/0/5 to eth3/0/6.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 30. Gratuitous ARP Commands 30-1 ip arp gratuitous This command is used to enable the learning of gratuitous ARP packets in the ARP cache table. To disable ARP control, use the no form of this command. ip arp gratuitous no ip arp gratuitous Parameters None. Default By default, this option is enabled. Command Mode Global Configuration Mode. Command Default Level Level: 12.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Command Default Level Level: 12. Usage Guideline A gratuitous ARP request packet is an ARP request packet where the source and the destination IP address are both set to the IP address of the sending device and the destination MAC address is the broadcast address.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# configure terminal Switch(config)# ip gratuitous-arps switch(config)# interface vlan100 Switch(config-if)# arp gratuitous-send interval 1 Switch(config-if)# 274
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 31. IGMP Snooping Commands 31-1 clear ip igmp snooping statistics This command is used to clear the IGMP snooping related statistics. clear ip igmp snooping statistics {all | vlan VLAN-ID | interface INTERFACE-ID} Parameters all Specifies to clear IP IGMP snooping statistics for all VLANs and all ports. vlan VLAN-ID Specifies a VLAN to clear the IP IGMP snooping statistics.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Command Mode Interface Configuration Mode. Global Configuration Mode. Command Default Level Level: 12. Usage Guideline In the interface configuration mode, the command is only available for VLAN interface configuration. For a VLAN to operate with IGMP snooping, both the global state and per interface state must be enabled. On a VLAN, the setting of IGMP snooping and MLD snooping are independent.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Level: 12. Usage Guideline The command is only available for VLAN interface configuration. The ip igmp snooping fast-leave command allows IGMP membership to be immediately removed from a port when receiving the leave message without using the group specific or group-source specific query mechanism. Example This example shows how to enable IGMP snooping fast-leave on VLAN 1.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 31-5 ip igmp snooping mrouter This command is used to configure the specified interface(s) as the multicast router ports or as forbidden to be multicast router ports on the Switch. Use the no form of this command to remove the interface(s) from router ports or forbidden multicast router ports.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 31-6 ip igmp snooping proxy-reporting This command is used to enable the proxy-reporting function. Use the no form of this command to disable the proxy-reporting function. ip igmp snooping proxy-reporting [source IP-ADDRESS] no ip igmp snooping proxy-reporting Parameters IP-ADDRESS (Optional) Specifies the source IP of proxy reporting. The default value is zero IP. Default By default, this option is disabled.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Command Mode Interface Configuration Mode. Command Default Level Level: 12. Usage Guideline This command is 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.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# configure terminal Switch(config)# vlan 1000 Switch(config-vlan)# ip igmp snooping query-interval 300 Switch(config-vlan)# 31-9 ip igmp snooping query-max-response-time This command is used to configure the maximum response time advertised in IGMP snooping queries. Use the no form of this command to revert to the default setting.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide NUMBER Specifies the version of the IGMP general query sent by the IGMP snooping querier. Default By default, this value is 3. Command Mode Interface Configuration Mode. Command Default Level Level: 12. Usage Guideline This command is only available for VLAN interface configuration. The query version number setting will affect the querier electing.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide suppression time expired. For report or leave messages to the same group, only one report or leave message is forwarded. The remaining report and leave messages are suppressed. Example This example shows how to enable report suppression on VLAN 1.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# configure terminal Switch(config)# vlan 1000 Switch(config-vlan)# ip igmp snooping robustness-variable 3 Switch(config-vlan)# 31-13 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.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 31-14 ip igmp snooping suppression-time This command is used to configure the interval of suppressing duplicate IGMP reports or leaves. Use the no form of the command to revert to the default setting. ip igmp snooping suppression-time SECONDS no ip igmp snooping suppression-time Parameters SECONDS Specifies to configure the interval of suppressing duplicates IGMP reports. The range is from 1 to 300.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Command Mode Interface Configuration Mode. Command Default Level Level: 12. Usage Guideline This command is only available for VLAN interface configuration. This setting only applies to the filtering of IGMP membership reports. Example This example shows how to restrict all IGMPv1 hosts to join VLAN 1.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Use this command to display IGMP snooping information for all VLANs where IGMP snooping is enabled. Example This example shows how to display IGMP snooping global state. Switch#show ip igmp snooping IGMP snooping global state: Enabled Switch# This example shows how to display IGMP snooping information on VLAN 2.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 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 ------1 Group address --------------239.255.255.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# show ip igmp snooping mrouter VLAN Ports -------- ---------------------------------1 3/0/3-3/0/4 (static) 3/0/6 (forbidden) 4/0/2 (dynamic) 2 4/0/4 (static) 4/0/3 (dynamic) Total Entries: 2 Switch# 31-19 show ip igmp snooping static-group This command is used to display IGMP snooping statistics group information on the Switch.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 31-20 show ip igmp snooping statistics This command is used to display IGMP snooping statistics information on the Switch. show ip igmp snooping statistics {interface [INTERFACE-ID] | vlan [VLAN-ID]} Parameters interface INTERFACE-ID Specifies the interface to display port statistics counters. vlan VLAN-ID Specifies the VLAN ID to display VLAN statistics. Default None. Command Mode EXEC Mode or Any Configuration Mode.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 32. Interface Commands 32-1 clear counters This command is used to clear counters for a physical port interface. clear counters {all | interface INTERFACE-ID [,|-]} Parameters all Specifies to clear counters for all interfaces. INTERFACE-ID Specifies the interface ID to clear the counter. Default None. Command Mode Privileged EXEC Mode. Command Default Level Level: 12.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Command Default Level Level: 12. Usage Guideline The specified description corresponds to the MIB object “ifAlias” defined in the RFC 2233. Example This example shows how to add the description “Physical Port 10” to interface eth 1/0/10.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# configure terminal Switch(config)# interface eth2/0/5 Switch(config-if)# This example shows how to enter the interface configuration mode for VLAN 100. Switch# configure terminal Switch(config)# interface vlan100 Switch(config-if)# This example shows how to enter interface configuration mode for port channel 3.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 32-5 show counters This command is used to display interface information. show counters [interface INTERFACE-ID] Parameters INTERFACE-ID Specifies that the interface can be a physical port. If no interface is specified, counters of all interfaces will be displayed. Default None. Command Mode EXEC Mode or Any Configuration Mode. Command Default Level Level: 1.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch#show counter interface eth 1/0/1 eth1/0/1 counters rxHCTotalPkts txHCTotalPkts rxHCUnicastPkts txHCUnicastPkts rxHCMulticastPkts txHCMulticastPkts rxHCBroadcastPkts txHCBroadcastPkts rxHCOctets txHCOctets rxHCPkt64Octets rxHCPkt65to127Octets rxHCPkt128to255Octets rxHCPkt256to511Octets rxHCPkt512to1023Octets rxHCPkt1024to1518Octets rxHCPkt1519to1522Octets rxHCPkt1519to2047Octets rxHCPkt2048to4095Octets rxHCPkt4096to9216Octets txHCPkt
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide ifOutDiscards txDelayExceededDiscards txCRC txSTPDropPkts txHOLDropPkts : : : : : 0 0 0 0 0 dot3StatsAlignmentErrors dot3StatsFCSErrors dot3StatsSingleColFrames dot3StatsMultiColFrames dot3StatsSQETestErrors dot3StatsDeferredTransmisions dot3StatsLateCollisions dot3StatsExcessiveCollisions dot3StatsInternalMacTransmitErrors dot3StatsCarrierSenseErrors dot3StatsFrameTooLongs dot3StatsInternalMacReceiveErrors : : : : : : : : : : : : 0 0
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# show interfaces vlan1 VLAN1 is enabled, link status is down Interface type: VLAN Interface description: VLAN 1 for MIS MAC address: 08-00-01-22-00-00 Switch# This example shows how to display the NULL interface information for interface null0.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide show interfaces [INTERFACE-ID [,|-]] counters [errors] Parameters errors (Optional) Specifies to display the error counters. INTERFACE-ID (Optional) Specifies that the interface can be a physical port. If no interface is specified, the counters on all interfaces will be displayed. Default None. Command Mode EXEC Mode or Any Configuration Mode. Command Default Level Level: 1.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch#show interfaces ethernet 1/0/1-8 counters Port InOctets / InUcastPkts ------------- ---------------------eth1/0/1 1834520 9234 eth1/0/2 0 0 eth1/0/3 0 0 eth1/0/4 0 0 eth1/0/5 0 0 eth1/0/6 0 0 eth1/0/7 0 0 eth1/0/8 0 0 InMcastPkts / InBcastPkts ---------------------629 338 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Port OutMcastPkts / OutBcastPkts ---------------------0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 OutOctets / OutUcastPkts ------------- -----
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# show interfaces ethernet 2/0/1-8,3/0/1-4 counters errors Port Align-Err Fcs-Err Rcv-Err Undersize Xmit-Err OutDiscard --------- ---------- --------- -------- ---------- --------- ----------eth2/0/1 0 0 0 0 0 0 eth2/0/2 0 0 0 0 0 0 eth2/0/3 0 0 0 0 0 0 eth2/0/4 0 0 0 0 0 0 eth2/0/5 0 0 0 0 0 0 eth2/0/6 0 0 0 0 0 0 eth2/0/7 0 0 0 0 0 0 eth2/0/8 0 0 0 0 0 0 eth3/0/1 0 0 0 0 0 0 eth3/0/2 0 0 0 0 0 0 eth3/0/3 0 0 0 0 0 0 eth3/0/4 0 0 0
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 32-8 show interfaces status This command is used to display the Switch’s port connection status. show interfaces [INTERFACE-ID [,|-]] status Parameters INTERFACE-ID (Optional) Specifies the interface ID. If no interface is specified, the connection status of all switch ports will be displayed. Default None. Command Mode EXEC Mode or Any Configuration Mode. Command Default Level Level: 1.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Parameters utilization (Optional) Specifies to display the utilization information. INTERFACE-ID (Optional) Specifies the interface ID. If no interface is specified, the utilization of all physical port interfaces will be displayed. Default None. Command Mode EXEC Mode or Any Configuration Mode. Command Default Level Level: 1. Usage Guideline This command displays the Switch’s physical port utilization.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Default None. Command Mode EXEC Mode or Any Configuration Mode. Command Default Level Level: 1. Usage Guideline This command displays the auto-negotiation information. Example This example shows how to display auto-negotiation information.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Level: 12. Usage Guideline 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. Using the no shutdown command will put the port back into the enabled state. When a port is shut down, the link status will also be turned off.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 33. IP Source Guard Commands 33-1 ip verify source vlan dhcp-snooping This command is used to enable IP source guard for a port. Use the no form of the command to disable IP source guard. ip verify source vlan dhcp-snooping [ip-mac] no ip verify source vlan dhcp-snooping [ip-mac] Parameters ip-mac (Optional) Specifies to check both IP address and MAC address of the received IP packets. Default By default, this option is disabled.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide no ip source binding MAC-ADDRESS vlan VLAN-ID IP-ADDRESS interface INTERFACE-ID [, | -] Parameters MAC-ADDRESS Specifies the MAC address of the IP-to-MAC address binding entry. vlan VLAN-ID Specifies the VLAN that the valid host belongs to. IP-ADDRESS Specifies the IP address of the IP-to-MAC address binding entry. INTERFACE-ID Specifies the port that the valid host is connected.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide show ip source binding [IP-ADDRESS] [MAC-ADDRESS] [dhcp-snooping | static] [vlan VLAN-ID] [interface INTERFACE-ID [, | -]] Parameters IP-ADDRESS (Optional) Specifies to display the IP-source guard binding entry based on IP address. MAC-ADDRESS (Optional) Specifies to display the IP-source guard binding entry based on MAC address.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# show ip source binding 10.1.1.10 MAC Address IP Address Lease(sec) Type VLAN Interface ----------------- --------------- ---------- ------------- ----- ---------00-01-01-01-01-01 10.1.1.10 infinite static 100 eth3/0/3 Total Entries: 1 Switch# This example shows how to display IP Source Guard binding entries by IP address 10.1.1.11, MAC address 00-01-01-01-01-10, at VLAN 100 on interface eth3/0/3 and learning by DHCP snooping.
DGS-1510 Series Gigabit Ethernet SmartPro 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 Use this command to display the hardware port ACL entries for a port in the hardware table. It indicates the hardware filter behavior that IP source guard is verified upon.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Filter-Mode active: Actively verify IP source entries. inactive-trust-port: Enable DHCP snooping to trust ports with no IP source entry verification active. inactive-no-snooping-vlan: No DHCP snooping VLAN configured with no IP source entry verification active. IP address The client’s IP address assigned from the DHCP server or configured by the user. MAC address The client’s MAC address.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 34. IP Utility Commands 34-1 ping This command is used to diagnose basic network connectivity. ping {IP-ADDRESS | IPV6-ADDRESS | HOST-NAME} [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. HOST-NAME Specifies the host name of the system to discover.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# ping 172.50.71.123 Reply Reply Reply Reply Reply Reply from from from from from from 172.50.71.123, 172.50.71.123, 172.50.71.123, 172.50.71.123, 172.50.71.123, 172.50.71.123, time<10ms time<10ms time<10ms time<10ms time<10ms time<10ms Ping Statistics for 172.50.71.123 Packets: Sent =6, Received =6, Lost =0 Switch# This example shows how to ping the host with IPv6 address 2001:238:f8a:77:7c10:41c0:6ddd:ecab.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 35. IP-MAC-Port Binding (IMPB) Commands 35-1 clear ip ip-mac-port-binding violation This command is used to clear IP-MAC-Port Binding (IMPB) blocked entries. clear ip ip-mac-port-binding violation {all | interface INTERFACE-ID | MAC-ADDRESS} Parameters all Specifies to clear all of the violation entries. interface INTERFACE-ID Specifies to clear the violation entries created by the specified interface.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Default By default, this option is disabled. Command Mode Interface Configuration Mode. Command Default Level Level: 12. Usage Guideline When a port is enabled for IMPB strict-mode access control, a host can only access the port after the host sends ARP or IP packets and the ARP packet or IP packet sent by the host passes the binding check.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Command Default Level Level: 1. Usage Guideline Use this command to display the IMPB configuration or use the show ip ip-mac-port-binding violation command to display the entries blocked because of the IMPB check violation. Example This example shows how to display all of the entries blocked by the IMPB access control.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Command Mode Global Configuration Mode. Command Default Level Level: 12. Usage Guideline Use this command to enable or disable the sending of the SNMP notifications for such events. When enabled, the Switch sends violation traps if any violation packet is received. Example This example shows how to enable sending traps for IP-MAC-Port Binding.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 36. IPv6 Snooping Commands 36-1 ipv6 snooping policy This command is used to create or modify an IPv6 snooping policy. This command will enter the IPv6 snooping configuration mode. Use the no command to delete an IPv6 snooping policy. ipv6 snooping policy POLICY-NAME no ipv6 snooping policy POLICY-NAME Parameters POLICY-NAME Specifies the name of the snooping policy. Default No IPv6 snooping policy is created.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Command Mode IPv6 Snooping Configuration Mode. Command Default Level Level: 12. Usage Guideline ND Snooping is designed for a stateless auto-configuration assigned IPv6 address and manually configured IPv6 address. Before assigning an IPv6 address, the host must perform Duplicate Address Detection first. ND snooping detects DAD messages (DAD NS and DAD NA) to build its binding database.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# configure terminal Switch(config)# ipv6 snooping policy policy1 Switch(config-ipv6-snooping)# limit address-count 25 Switch(config-ipv6-snooping)# 36-4 ipv6 snooping attach-policy This command is used to apply an IPv6 snooping policy to a specified VLAN. Use the no command to remove the binding.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Parameters None. Default IPv6 snooping is permitting station moves. Command Mode Global Configuration Mode. Command Default Level Level: 12. Usage Guideline When station move is permitted, the dynamic snooping binding entry with same VLAN ID and MAC address on the specific port can move to another port if it detects the following conditions: • • A DHCPv6 snooping binding entry starts a new DHCP process on a new interface.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# show ipv6 snooping policy Snooping policy: test1 Protocol: DHCP, NDP Limit Address Count: 30 Target VLAN: 100,200-210,4000 Switch# Display Parameters Protocol The protocol used for snooping. Limit Address Count The maximum number of this IPv6 Snooping policy. Target VLAN The name of the target. The target is a VLAN list.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 37. IPv6 Source Guard Commands 37-1 ipv6 source binding vlan This command is used to add a static entry to the binding table. Use the no form of this command to remove the static binding entry. ipv6 source binding MAC-ADDRESS vlan VLAN-ID IPV6-ADDRESS interface INTERFACE-ID no ipv6 source binding MAC-ADDRESS vlan VLAN-ID IPV6-ADDRESS interface INTERFACE-ID Parameters MAC-ADDRESS Specifies the MAC address of the manual binding entry.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide POLICY-NAME Specifies the name of the source guard policy. Default None. Command Mode Global Configuration Mode. Command Default Level Level: 12. Usage Guideline The command is used to create a source guard policy name. This command will enter into the source guard policy configuration mode. Example This example shows how to create an IPv6 source guard policy.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# configure terminal Switch(config)# ipv6 source-guard policy policy1 Switch(config-source-guard)# deny global-autoconfig Switch(config-source-guard)# 37-4 permit link-local This command is used to allow hardware permitted data traffic send by the link-local address. Use the no form of this command to disable this function permit link-local no permit link-local Parameters None. Default By default, this option is denied.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide None. Command Mode Interface Configuration Mode. Command Default Level Level: 12. Usage Guideline When the command is applied to a port, the received IPv6 packet except ND, RA, RS and DHCP messages will perform the address binding check. The packet is allowed when it matches any of the address binding table’s entries.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# show ipv6 dhcp guard policy Policy Test configuration: permit link-local deny global-autoconf Target: eth2/0/3 Switch# 37-7 show ipv6 neighbor binding This command is used to display the IPv6 binding table. show ipv6 neighbor binding [vlan VLAN-ID] [interface INTERFACE-ID] [ipv6 IPV6-ADDRESS] [mac MAC-ADDRESS] Parameters VLAN-ID (Optional) Specifies to displays the binding entries that match the specified VLAN.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# show ipv6 neighbor binding Codes: D - DHCPv6 Snooping, S - Static, N - ND Snooping IPv6 address MAC address Interface VLAN Time left N FE80::A8BB:CCFF:FE01:F500 AABB.CC01.F500 eth0/0 100 8850 S FE80::21D:71FF:FE99:4900 001D.7199.4900 eth0/1 100 N/A N 2001:600::1 AABB.CC01.F500 eth0/0 100 3181 D 2001:300::1 AABB.CC01.F500 port-channel3 100 9559 D 2001:100::2 AABB.CC01.F600 eth1/0 200 9196 D 2001:400::1 001D.7199.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 38. Japanese Web-based Access Control (JWAC) Commands 38-1 jwac authentication-method This command is used to configure the JWAC authentication method. Use the no form of this command to return to the default setting. jwac authentication-method {md5 | chap | pap | mschap | mschapv2} no jwac authentication-method Parameters md5 Specifies that the authentication will be done via a RADIUS server through EAP MD5.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide jwac enable no jwac enable Parameters None. Default By default, this option is disabled. Command Mode Interface Configuration Mode. Command Default Level Level: 12. Usage Guideline The JWAC interface configuration command allows hosts connected to the port to do authentication via the Web browser. Example This example shows how to enable the JWAC function on interface eth1/0/1.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Usage Guideline When the forcible logout feature is enabled, a ping packet from an authenticated host to the JWAC switch with a TTL of 1 will be regarded as a logout request and the host will be moved back to unauthenticated state. Example This example shows how to enable the JWAC forcible logout function.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide jwac authenticate-page language {japanese | english} no jwac authenticate-page language Parameters japanese Specifies to choose the Japanese page. english Specifies to choose the English page. Default By default, this option is English. Command Mode Global Configuration Mode. Command Default Level Level: 12. Usage Guideline The JWAC Web server will return the authentication page to the client for local authentication.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide username-title STRING Specifies the user name title of JWAC authentication login window. The maximum number can be up to 32 characters. password-title STRING Specifies the password title of JWAC authentication login window. The maximum number can be up to 32 characters. logout-window-title STRING Specifies the title of the JWAC authentication logout window. The maximum number can be up to 64 characters.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 38-7 jwac quarantine-server url This command is used to configure the JWAC quarantine server URL. Use the no form of this command to return to the default setting. jwac quarantine-server url {ipv4 STRING | ipv6 STRING} no jwac quarantine-server url Parameters ipv4 STRING Specifies the URL on the Quarantine Server for IPv4 access authentication. The maximum number can be up to 128 characters.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide jwac quarantine-server monitor no jwac quarantine-server monitor Parameters None. Default By default, this option is disabled. Command Mode Global Configuration Mode. Command Default Level Level: 12. Usage Guideline When the JWAC Quarantine server monitor feature is enabled, the JWAC switch will monitor the Quarantine server to ensure the server is OK.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide When the Quarantine server monitor is enabled, the JWAC switch will periodically check if the Quarantine server works. If the switch does not receive any response from the Quarantine server during the configured error timeout period, the switch will regard it as working improperly. Example This example shows how to configure the JWAC Quarantine server error timeout period to 60 seconds.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# configure terminal Switch(config)# jwac redirect Switch(config)# This example shows how to configure the JWAC redirect destination to the Quarantine server. Switch# configure terminal Switch(config)# jwac redirect destination quarantine-serve Switch(config)# This example shows how to configure the JWAC redirect delay time to 5 seconds.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide This command is used to configure the update server network that a PC needs to access in order to complete the JWAC authentication. Use the no form of this command to return to the default setting.
DGS-1510 Series Gigabit Ethernet SmartPro 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 When the UDP filtering feature is enabled, all UDP and ICMP packets except for DHCP and DNS packets from unauthenticated hosts will be dropped. Example This example shows how to enable the JWAC UDP filtering function.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide any ICMP packets or ARP requests. So it’s not allowed to configure virtual IP in the same subnet as the switch’s IP interface or the same subnet as the host PCs’ subnet, otherwise JWAC authentication cannot operate correctly. The defined URL only takes effect when the virtual IP address is configured. The users get the FQDN URL stored on the DNS server to get the virtual IP address.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 39. Jumbo Frame Commands 39-1 max-rcv-frame-size This command is used to configure the maximum Ethernet frame size allowed. Use the no form of the command to revert to the default setting. max-rcv-frame-size BYTES no max-rcv-frame-size Parameters BYTES Specifies the maximum Ethernet frame size allowed. Default By default, this value is 1536 bytes. Command Mode Interface Configuration Mode. Command Default Level Level: 12.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 40. Link Aggregation Control Protocol (LACP) Commands 40-1 channel-group This command is used to assign an interface to a channel group. Use the no form of the command to remove an interface from a channel-group. channel-group CHANNEL-NO mode {on | active | passive} no channel-group Parameters CHANNEL-NO Specifies the channel group ID. The valid range is 1 to 32.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 40-2 lacp port-priority This command is used to configure the port priority. Use the no form of the command to revert the port priority to the default settings. lacp port-priority PRIORITY no lacp port-priority Parameters PRIORITY Specifies the port priority. The range is 1 to 65535. Default The default port-priority is 32768. Command Mode Interface Configuration Mode. Command Default Level Level: 12.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide PDU periodic transmissions when using Long Timeouts Default By default, the LACP timeout mode is short. 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.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Example This example shows how to configure the LACP system priority to be 30000. Switch# configure terminal Switch(config)# lacp system-priority 30000 Switch(config)# 40-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. To reset the load distribution to the default settings, use the no form of this command.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 40-6 show channel-group This command is used to display the channel group information. show channel-group [channel [CHANNEL-NO] {detail | neighbor} | load-balance | sys-id] Parameters CHANNEL-NO (Optional) Specifies the channel group ID. channel (Optional) Specifies to display information for the specified portchannels. detail (Optional) Specifies to display detailed channel group information.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# show channel-group channel detail Flag: S - Port is requesting Slow LACPDUs F - Port is requesting fast LACPDU A - Port is in active mode P - Port is in passive mode LACP state: bndl: Port is attached to an aggregator and bundled with other ports. hot-sby: Port is in a hot-standby state.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# show channel-group load-balance load-balance algorithm: src-dst-mac Switch# This example shows how to display the system identifier information. Switch# show channel-group sys-id System-ID: 32765,00-02-4b-29-3a-00 Switch# This example shows how to display the summary information for all port-channels.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 41. Link Layer Discovery Protocol (LLDP) Commands 41-1 clear lldp counters This command is used to delete LLDP statistics. clear lldp counters [all | interface INTERFACE-ID [, | -]] Parameters all Specifies to clear LLDP counter information for all interfaces and global LLDP statistics. interface INTERFACE-ID Specifies the interface to clear LLDP counter information. , (Optional) Specifies a series of physical interfaces.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide all Specifies to clear LLDP neighboring information for all interfaces. INTERFACE-ID Specifies the interface’s ID. , (Optional) Specifies a series of physical interfaces. No spaces before and after the comma. - (Optional) Specifies a range of physical interfaces. No spaces before and after the hyphen. Default None. Command Mode Privileged EXEC Mode. Command Default Level Level: 12.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide sent. vlan-name Specifies the VLAN name TLV to send. The VLAN name TLV is an optional TLV that allows an IEEE 802.1Q-compatible IEEE 802 LAN station to advertise the assigned name of any VLAN with which it is configured. VLAN-ID [, | -] (Optional) Specifies the ID of the VLAN in the VLAN name TLV. The VLAN ID range is 1 to 4094. Separate nonconsecutive VLAN ID with a comma. Use a hyphen to designate a range of VLAN IDs.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide This example shows how to enable advertising Port and Protocol VLAN ID TLV. The advertised VLAN includes 1 to 3. Switch# configure terminal Switch(config)# interface eth1/0/1 Switch(config-if)# lldp dot1-tlv-select protocol-vlan 1-3 Switch(config-if)# This example shows how to enable the VLAN Name TLV advertisement from vlan1 to vlan3.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Default No IEEE 802.3 Organizationally Specific TLV is selected. Command Mode Interface Configuration Mode. Command Default Level Level: 12. Usage Guideline This command is available for physical port configuration. This command enables the advertisement of the optional IEEE 802.3 Organizationally Specific TLVs. The respective TLV will be encapsulated in LLDPDU and sent to other devices if the advertisement state is enabled.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# configure terminal Switch(config)# lldp fast-count 10 Switch(config)# 41-6 lldp hold-multiplier This command is used to configure the hold multiplier for LLDP updates on the Switch. Use the no form of this command to return to the default settings. lldp hold-multiplier VALUE no hold-multiplier Parameters VALUE Specifies the multiplier on the LLDPDUs transmission interval that used to compute the TTL value of an LLDPDU.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide IP-ADDRESS (Optional) Specifies the IPv4 address that is carried in the management address TLV. IPV6-ADDRESS (Optional) Specifies the IPv6 address that is carried in the management address TLV. Default No LLDP management address is configured (no Management Address TLV is sent). Command Mode Interface Configuration Mode. Command Default Level Level:12. Usage Guideline This command is available for physical port configuration.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide This example shows how to delete the management address FE80::250:A2FF:FEBF:A056 from eth3/0/3. and eth3/0/4. Switch# configure terminal Switch(config)# interface range eth3/0/3-3/0/4 Switch(config-if-range)# no lldp management-address FE80::250:A2FF:FEBF:A056 Switch(config-if-range)# This example shows how to delete all management addresses from eth3/0/5 and then no Management Address TLV will be sent on eth3/0/5.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide By default, the Switch only sends LLDP packets until it receives LLDP-MED packets from the end device. The Switch continues to send LLDP-MED packets until it only receives LLDP packets. Example This example shows how to enable transmitting LLDP-MED TLVs and LLDP-MED Capabilities TLVs.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide no lldp reinit Parameters SECONDS Specifies the delay value for LLDP initialization on an interface. This value must be between 1 and 10 seconds. Default By default, this value is 2 seconds. Command Mode Global Configuration Mode. Command Default Level Level: 12. Usage Guideline A re-enabled LLDP physical interface will wait for the re-initialization delay after the last disable command before reinitializing.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide configuration mode. LLDP takes effect on a physical interface only when it is enabled both globally and on the physical interface. By advertising LLDP packets, the Switch announces the information to its neighbor through physical interfaces. On the other hand, the Switch will learn the connectivity and management information from the LLDP packets advertised from the neighbor(s). Example This example shows how to enable LLDP.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide no lldp tlv-select [port-description | system-capabilities | system-description | system-name] Parameters port-description (Optional) Specifies the port description TLV to send. The port description TLV allows network management to advertise the IEEE 802 LAN station’s port description. system-capabilities (Optional) Specifies the system capabilities TLV to send.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide no lldp transmit Parameters None. Default By default, LLDP transmit is enabled on all supported interfaces. Command Mode Interface Configuration Mode. Command Default Level Level: 12. Usage Guideline This command is available for physical port configuration. This command is used to enable LLDP transmission on a physical interface. When LLDP is not running, the Switch doesn’t transmit LLDP messages.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 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)# 41-16 lldp tx-interval This command is used to configure the LLDPDUs transmission interval on the Switch.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Parameters med (Optional) Specifies to enable the LLDP-MED trap state. Default The LLDP and LLDP-MED trap states are 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.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# configure terminal Switch(config)# interface eth2/0/1 Switch(config-if)# lldp med notification enable Switch(config-if)# 41-19 lldp subtype This command is used to configure the subtype of LLDP TLV(s). lldp subtype port-id {mac-address | local} Parameters port-id Specifies the subtype of the port ID TLV.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Default None. Command Mode EXEC Mode or Any Configuration Mode. Command Default Level Level: 1. Usage Guideline This command is used to display the LLDP system’s global configurations. Example This example shows how to display the LLDP system’s global configuration status.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide show lldp interface INTERFACE-ID [, | -] Parameters INTERFACE-ID Specifies to display the LLDP configuration for a specific interface. Valid interfaces are physical interfaces. , (Optional) Specifies a series of physical interfaces. No spaces before and after the comma. - (Optional) Specifies a range of physical interfaces. No spaces before and after the hyphen. Default None. Command Mode EXEC Mode or Any Configuration Mode.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch#show lldp interface ethernet 1/0/1 Port ID: eth1/0/1 -----------------------------------------------------------------------------Port ID :eth1/0/1 Admin Status :TX and RX Notification :Disabled Basic Management TLVs: Port Description :Enabled System Name :Enabled System Description :Enabled System Capabilities :Enabled Enabled Management Address: (None) IEEE 802.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Enabled Protocol Identity 41-22 Displays the enabled protocol string for protocol identity TLVs. If there is no enabled protocol for protocol identity TLVs, the string is “(None)”. 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.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch#show lldp local interface ethernet 1/0/1 detail Port ID: eth1/0/1 ----------------------------------------------------------------------------Port ID Subtype : Local Port ID : eth1/0/1 Port Description : D-Link DGS-1510-28P 1.00.016 Port 1 on Unit 1 Port PVID : 1 Management Address Count : 2 Address 1 : (default) Subtype Address IF Type OID : : : : IPv4 10.90.90.90 IfIndex 1.3.6.1.4.1.171.10.137.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Capabilities Network Policy Location Identification Extended Power Via MDI PSE Extended Power Via MDI PD Inventory :Support :Support :Not Support :Support :Not Support :Support Network Policy: Application Type :Voice VLAN ID Priority DSCP Unknown Tagged :0 :5 :0 :False :False Extended Power Via MDI: Power Priority Power Value :Low :154 Switch# This example shows how to display the local information of port 1 in normal mode.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch#show lldp local interface ethernet 1/0/1 brief Port ID: eth1/0/1 ----------------------------------------------------------------------------Port ID Subtype : Local Port ID : eth1/0/1 Port Description : D-Link DGS-1510-28P 1.00.016 Port 1 on Unit 1 Switch# 41-23 show lldp management-address This command is used to display the management address information.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# show lldp management-address Address 1 : (default) -----------------------------------------------Subtype : IPv4 Address : 10.90.90.90 IF Type : IfIndex OID : 1.3.6.1.4.1.171.10.118.2 Advertising Ports : Address 2 : -----------------------------------------------Subtype : IPv4 Address : 10.90.90.90 IF Type : IfIndex OID : 1.3.6.1.4.1.171.10.118.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Usage Guideline This command display the information learned from the neighbor devices. Example This example shows how to display information about neighboring devices learned by LLDP on eth4/0/9 in detailed mode.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Power request Network policy Application type VLAN ID Priority DSCP Unknown Tagged Inventory Management (None) : 8 watts : : : : : : : : Voice True - Switch# This example shows how to display remote LLDP information in the normal mode.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Management Address Count Port VLAN ID PPVID Entries Count VLAN Name Entries Count Protocol Id Entries Count MAC/PHY Configuration Status Power Via MDI Link Aggregation Maximum Frame Size LLDP-MED capabilities Extended power via MDI Network policy Inventory Management Unknown TLVs Count : 2 : : : : : : : : : : : : : 2 1 5 3 2 (See (See (See 1536 (See (See (See (See Detail) Detail) Detail) Detail) Detail) Detail) Detail) Switch# This ex
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Chassis ID Port ID Subtype Port ID Port Description : : : : 00-01-02-03-04-05 Local eth3/0/2 RMON Port 2 on Unit 3 Total Entries: 2 Switch# 41-25 show lldp traffic This command is used to display the system’s global LLDP traffic information. show lldp traffic Parameters None. Default None. Command Mode EXEC Mode or Any Configuration Mode. Command Default Level Level: 1.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide inserted due to insufficient resources. Total Ageouts 41-26 Total number of times a complete remote data entry was deleted because the Time to Live interval expired. show lldp traffic interface This command is used to display the each physical interface’s LLDP traffic information. show lldp traffic interface INTERFACE-ID [, | -] Parameters INTERFACE-ID Specifies the interface ID.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Total Transmits The total number of LLDP packets transmitted on the port. Total Discards The total number of LLDP frames discarded on the port for any reason. Total Errors The number of invalid LLDP frames received on the port. Total Receives The total number of LLDP packets received on the port. Total TLV Discards The number of TLVs discarded.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 42. Loopback Detection (LBD) Commands 42-1 loopback-detection (Global) This command is used to enable the loopback detection function globally. Use the no form of the command to disable the function globally. loopback-detection [mode {port-based | vlan-based}] no loopback-detection [mode] Parameters mode (Optional) Specifies the detection mode. port-based Specifies that the loop detection will work in the port-based mode.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide The VLAN being blocked on a port can be automatically recovered, if the errdisable recovery cause loopback-detect command is configured. Alternatively, manually recover the operation by entering the shutdown command followed by the no shutdown command for the port. Example This example shows how to enable the port-based loopback detection function globally and set the detection mode to port-based.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide no loopback-detection interval Parameters interval SECONDS Specifies the interval in seconds at which CPT packets are transmitted. The valid range is from 1 to 32767. 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.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Use this command to configure the list of VLANs that are enabled for loop detection. The command setting takes effect when the port’s loop detection mode is operated in the VLAN-based mode. If the VLAN ID list is empty, LBD Control packets are sent out for all VLANs that the port is a member of. LBD Control packets will be sent out for the VLAN that the member port within the specified VLAN list.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# show loopback-detection Loop Detection : Detection Mode : LBD enabled VLAN Interval Interface ------------eth3/0/1 eth3/0/8 eth4/0/6 … Po1 Po2 Enabled vlan-based : all VLANs : 20 seconds Result Time Left(sec) ------------------ -----------Normal Normal Loop on VLAN 2 120 Loop on VLAN 3 115 Loop Normal 50 - Switch# This example shows how to displays the loopback detection status for port 1/0/1.
DGS-1510 Series Gigabit Ethernet SmartPro 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.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 43. MAC Authentication Commands 43-1 mac-auth system-auth-control This command is used to enable MAC authentication globally. Use the no form of the command to disable the MAC authentication globally. mac-auth system-auth-control no mac-auth system-auth-control Parameters None. Default By default, this option is disabled. Command Mode Global Configuration Mode. Command Default Level Level: 12.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Interface Configuration Mode. Command Default Level Level: 12. Usage Guideline This command is only available for physical port interface configuration. It can be used to enable MAC authentication on the specified interface. In addition, MAC authentication has the following limitations: • • • The MAC authentication port cannot be enabled when port security is enabled on the port.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide on the MAC address. The MAC addresses format can be configured with the authentication mac username format command. Example This example shows how to configure the password for MAC authentication. Switch# configure terminal Switch(config)# mac-auth password newpass Switch(config)# 43-4 mac-auth username This command is used to configure the username of local and RADIUS authentication.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide no snmp-server enable traps mac-auth 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 sending SNMP notifications for MAC authentication. Example This example shows how to enable sending trap for MAC authentication.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 44. Mirror Commands 44-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 the command to delete a port monitor session or remove the destination interface of the session.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide monitor session SESSION-NUMBER source interface INTERFACE-ID [, | -] [both | rx | tx] no monitor session SESSION-NUMBER source interface INTERFACE-ID [, | -] no monitor session SESSION-NUMBER Parameters session SESSION-NUMBER Specifies the session number for the port monitor session. The valid range is 1 to 4. interface INTERFACE-ID Specifies the source interface for a port monitor session.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide monitor session SESSION-NUMBER source acl ACCESS-LIST-NAME no monitor session SESSION-NUMBER source acl ACCESS-LIST-NAME Parameters session SESSION-NUMBER Specifies the session number for the port monitor session. The valid range is 1 to 4. acl ACCESS-LIST-NAME Specifies the flow-based mirror. Default None. Command Mode Global Configuration Mode. Command Default Level Level: 12.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 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.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 45. MLD Snooping Commands 45-1 clear ipv6 mld snooping statistics This command is used to clear the statistic counter of the Switch. clear ipv6 mld snooping statistics {all | vlan VLAN-ID | interface INTERFACE-ID} Parameters all Specifies to clear IPv6 MLD snooping statistics for all VLANs and all ports. vlan VLAN-ID Specifies the VLAN used. If no VLAN is specified, statistics for all VLANs are cleared.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Command Mode Interface Configuration Mode. Global Configuration Mode. Command Default Level Level: 12. Usage Guideline For a VLAN to operate with MLD snooping, both the global state and per interface state must be enabled. On a VLAN, the setting of IGMP snooping and MLD snooping are independent. That is, IGMP snooping and MLD snooping can be simultaneously enabled on the same VLAN.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Usage Guideline The command is only available for VLAN interface configuration. The ipv6 mld snooping fast-leave command allows MLD membership to be immediately removed from a port when receiving the leave message without using the group specific or group-source specific query mechanism. Example This example shows how to enable MLD snooping fast-leave on VLAN 1.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 45-5 ipv6 mld snooping mrouter This command is used to configure the specified interface(s) as the router ports or forbidden to be IPv6 multicast router ports on the VLAN interface on the Switch. Use the no form of this command to remove the interface(s) from router ports or forbidden IPv6 multicast router ports.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# configure terminal Switch(config)# vlan 4 Switch(config-vlan)# no ipv6 mld snooping mrouter learn pimv6 Switch(config-vlan)# 45-6 ipv6 mld snooping proxy-reporting This command is used to enable the proxy-reporting function. Use the no form of this command to disable the proxy-reporting function.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Parameters None. Default By default, this option is disabled. Command Mode Interface Configuration Mode. Command Default Level Level: 12. Usage Guideline The command is 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.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Example This example shows how to configure the MLD snooping query interval to 300 seconds on VLAN 1000. Switch# configure terminal Switch(config)# vlan 1000 Switch(config-vlan)# ipv6 mld snooping query-interval 300 Switch(config-vlan)# 45-9 ipv6 mld snooping query-max-response-time This command is used to configure the maximum response time advertised in MLD snooping queries.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Parameters 1 Specifies that the version of the MLD general query, sent by MLD snooping querier, is 1. 2 Specifies that the version of the MLD general query, sent by MLD snooping querier, is 2. Default By default, this version number is 2. Command Mode Interface Configuration Mode. Command Default Level Level: 12. Usage Guideline The command is only available for VLAN interface configuration.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide When report suppression is enabled, the Switch suppresses the duplicate reports sent by hosts. The suppression for the same group report or leave will continue until the suppression time expired. For report or leave messages to the same group, only one report or leave message is forwarded. The remaining report and leave messages are suppressed. Example This example shows how to enable MLD report suppression.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# configure terminal Switch(config)# vlan 1000 Switch(config-vlan)# ipv6 mld snooping robustness-variable 3 Switch(config-vlan)# 45-13 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.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide no ipv6 mld snooping suppression-time Parameters SECONDS Specifies to configure the interval of suppressing duplicates MLD reports. The range is 1 to 300. Default By default, this value is 10 seconds. Command Mode Interface Configuration Mode. Command Default Level Level: 12. Usage Guideline The command is only available for VLAN interface configuration.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Example This example shows how to restrict all MLDv1 hosts to join VLAN 1. Switch# configure terminal Switch(config)# vlan 1 Switch(config-vlan)# ipv6 mld snooping minimum-version 2 Switch(config-vlan)# 45-16 show ipv6 mld snooping This command is used to display MLD snooping information on the Switch. show ipv6 mld snooping [vlan VLAN-ID] Parameters vlan VLAN-ID (Optional) Specifies the VLAN to be displayed. Default None.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# show ipv6 mld snooping MLD snooping global state: Enabled VLAN #1 configuration MLD snooping state : Enabled Minimum version : v2 Fast leave : Enabled (host-based) Report suppression : Enabled Suppression time : 10 seconds Proxy reporting : Disabled (Source ::) Mrouter port learning : Enabled Querier state : Enabled (Non-active) Query version : v2 Query interval : 125 seconds Max response time : 10 seconds Robustness value : 2 Last
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# show ipv6 mld snooping groups MLD Snooping Connected Group Membership: VLAN ID ------1 1 1 Group address ------------------FF1E:: FF1E::3 FF1E::4 Source address ------------------* * 3620:110:1::3a2b FM -EX EX IN Exp(sec) -------258 258 258 Interface --------2/0/7 2/0/7 2/0/7 Total Entries: 3 Switch# 45-18 show ipv6 mld snooping mrouter This command is used to display MLD snooping multicast router port information automatic
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# show ipv6 mld snooping mrouter VLAN ----1 Ports ----------------------------T1 (dynamic) 10 2/0/48 (static) T1 (dynamic) 4094 1/0/12 (forbidden) T1 (dynamic) Total Entries: 3 Switch# 45-19 show ipv6 mld snooping static-group This command is used to display MLD snooping static group information on the Switch.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch#show ipv6 mld snooping static-group VLAN ID ------1 Group address --------------FF1E::1 Interface -----------------------1/0/1,1/0/5 Total Entries: 1 Switch# 45-20 show ipv6 mld snooping statistics This command is used to display MLD snooping statistics information on the Switch.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# show ipv6 mld snooping statistics interface Interface eth4/0/1 Rx: V1Report 1, v2Report 2, Query 1, v1Done 2 Tx: v1Report 1, v2Report 2, Query 1, v1Done 2 Interface eth4/0/3 Rx: V1Report 0, v2Report 0, Query 0, v1Done 0 Tx: v1Report 0, v2Report 0, Query 0, v1Done 0 Interface eth4/0/4 Rx: V1Report 3, v2Report 0, Query 3, v1Done 0 Tx: v1Report 2, v2Report 2, Query 1, v1Done 2 Total Entries: 3 Switch# show ipv6 mld snooping statistics
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 46. Multiple Spanning Tree Protocol (MSTP) Commands 46-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).
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 46-2 name This command is used to configure the name of an MST region. To return to the default name, use the no form of this command. name NAME 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. Command Mode MST Configuration Mode.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Command Mode MST Configuration Mode. Command Default Level Level: 12. Usage Guideline Two Ethernet switches that have the same configuration but different revision numbers are considered to be part of two different regions. Example This example shows how to configure the revision level of the MSTP configuration to 2.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Usage Guideline Use this command to display the MSTP configuration and operation status. If a private VLAN is configured and the secondary VLAN does not map to the same primary VLAN, the show spanning-tree mst configuration command will display a message to indicate this condition. Example This example shows how to display MSTP detailed information.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch#show spanning-tree mst Spanning tree: Disabled,protocol: RSTP Number of MST instances: 1 >>>>MST00 vlans mapped : 1-4094 Bridge Address: 00-01-02-03-04-00, Priority: 32768 (32768 sysid 0) Designated Root Address: 00-00-00-00-00-00, Priority: 0 (0 sysid 0) Regional Root Bridge Address: 00-00-00-00-00-00, Priority: 0 (0 sysid 0) Designated Bridge Address: 00-00-00-00-00-00, Priority: 0 (0 sysid 0) Topology Changes Count: 0 Interface
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# show spanning-tree mst instance 2 interface eth3/0/3-4 >>>>MST02 vlans mapped: 2-3 Bridge Address:00-12-d9-87-47-00 , Priority: 32770 (32768 sysid 2) Designated Root Address:00-12-d9-87-47-00 , Priority: 32770 Designated Bridge Address:00-12-d9-87-47-00 , Priority: 32770 Priority Link Interface Role State Cost .Port# Type Edge --------- ------------- --------- ------------eth3/0/3 backup blocking 200000 128.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Interface Configuration Mode. 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.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide spanning-tree mst max-hops HOP-COUNT no spanning-tree mst max-hops 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. Usage Guideline Use this command to configure the maximum hops for MSTP.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Example This example shows how to configure the port hello-time to 1 for the Ethernet interface eth1/01. Switch# configure terminal Switch(config)# interface eth1/0/1 Switch(config-if)# spanning-tree mst hello-time 1 Switch(config-if)# 46-9 spanning-tree mst priority This command is used to configure the bridge priority value for the selected MSTP instance. Use the no command to return the setting to the default setting.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 47. Neighbor Discovery (ND) Inspection Commands 47-1 ipv6 nd inspection policy This command is used to create an ND inspection policy. This command will enter into the ND inspection policy configuration mode. Use the no form of this command to remove the ND inspection policy. ipv6 nd inspection policy POLICY-NAME no ipv6 nd inspection policy POLICY-NAME Parameters POLICY-NAME Specifies the ND inspection policy name. Default None.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Default By default, this option is disabled. Command Mode ND Inspection Policy Configuration Mode. Command Default Level Level: 12. Usage Guideline When the Switch receives an ND message that contains a link-layer address, the source MAC address is checked against the link-layer address. The packet will be dropped if the link-layer address and the MAC addresses are different from each other.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide This example shows how to create a ND policy named “policy1” and configures the device’s role to host. Switch# configure terminal Switch(config)# ipv6 nd inspection policy policy1 Switch(config-nd-inspection)# device-role host Switch(config-nd-inspection)# 47-4 ipv6 nd inspection attach-policy This command is used to apply an ND inspection policy on the specified interface.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide show ipv6 nd inspection policy [POLICY-NAME] Parameters POLICY-NAME (Optional) Specifies the IPv6 RA guard policy name. Default None. Command Mode EXEC Mode or Any Configuration Mode. Command Default Level Level: 1. Usage Guideline If the policy name is specified, only the specified policy information is displayed. If the policy name is not specified, information is displayed for all policies.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 48. Network Access Authentication Commands 48-1 authentication guest-vlan This command is used to configure the guest VLAN setting. Use the no form of the command to remove the guest VLAN. authentication guest-vlan VLAN-ID no authentication guest-vlan Parameters VLAN-ID Specifies the authentication guest VLAN. Default None. Command Mode Interface Configuration Mode. Command Default Level Level: 12.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 48-2 authentication host-mode This command is used to specify the authentication mode. Use the no form of the command to reset to the default setting. 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.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 48-3 authentication periodic This command is used to enable periodic re-authentication for a port. Use the no form of this command to disable periodic re-authentication. authentication periodic no authentication periodic Parameters None. Default By default, this option is disabled. Command Mode Interface Configuration Mode. Command Default Level Level: 12.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Level: 12. Usage Guideline When the inactivity timer is configured, a user session will be terminated if the session sustains no activity for the configured period of time. If the inactivity timer is configured, it should be shorter than the timer value configured by authentication timer re-authentication command. Example This example shows how to configure the inactivity timer to 240 for eth1/0/1.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide authentication timer restart SECONDS no authentication timer restart Parameters SECONDS Specifies the authentication restart timer value. The range is from 1 to 65535 Default By default, this value is 60 seconds. Command Mode Interface Configuration Mode. Command Default Level Level: 12. Usage Guideline The Switch will be in the quiet state for a failed authentication session until the expiration of the timer.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide None. Command Mode Global Configuration Mode. Command Default Level Level: 15. Usage Guideline Use this command to configure the local database used for user authentication. Example This example shows how to create a local account with user1 as the username and pass1 as password.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# clear authentication sessions interface eth1/0/1 Switch# 48-9 authentication username mac-format This command is used to configure the MAC address format that will be used for authenticating as the username via the RADIUS server. Use the no form of this command to return to the default setting.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide This example shows how to format the username based on the MAC address. Switch# configure terminal Switch(config)# authentication username mac-format case uppercase delimiter hyphen number 5 Switch(config)# 48-10 authentication compauth mode This command is used to specify the compound authentication modeUse the no form of the command to revert the setting to default.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch#configure terminal Switch(config)#mac-auth system-auth-control Switch(config)#jwac system-auth-control Switch(config)#interface eth1/0/6 Switch(config-if)#mac-auth enable Switch(config-if)#jwac enable Switch(config-if)# 48-11 authentication max users This command is used to configure the maximum authenticated users for the entire system or for a port. Use the no form of the command to reset to default setting.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 48-12 authentication mac-move deny This command is used to enable MAC move on the Switch. Use the no form of this command to return to the default setting. authentication mac-move deny no authentication mac-move deny Parameters None. Default By default, this option is permitted. Command Mode Global Configuration Mode. Command Default Level Level: 12.
DGS-1510 Series Gigabit Ethernet SmartPro 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.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide None. Command Mode EXEC Mode or Any Configuration Mode. Command Default Level Level: 1. Usage Guideline Use this command without parameters to display the sessions associated with all ports. Example This example shows how to display sessions on Ethernet port 1/0/1.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Assigned VID Effectively assigned VLAN ID that was authorized after the host passed authentication. Assigned Priority Effectively assigned priority that was authorized after the host passed authentication. Assigned Ingress Bandwidth Effectively assigned ingress that was authorized after the host passed authentication. Assigned Egress Bandwidth Effectively assigned egress that was authorized after the host passed authentication.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide values: REQUEST - Indicates that the state machine has received an EAP request packet from the authentication server and is relaying that packet to the Supplicant as an EAPOL-encapsulated frame. RESPONSE: Indicates that the state machine has received an EAPOL-encapsulated EAP Response packet from the supplicant and is relaying the EAP packet to the authentication Server.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 49. Port Security Commands 49-1 clear port-security This command is used to delete the auto-learned secured MAC addresses. clear port-security {all | {address MAC-ADDR | interface INTERFACE-ID [, | -]} [vlan VLAN-ID]} Parameters all 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.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide INTEFACE-ID Specifies the ID of the interface to 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. address Specifies to display all the secure MAC addresses, including both configured and learned entries. Default None.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide By default, this option is disabled. Command Mode Global Configuration Mode. Command Default Level Level: 12. Usage Guideline Use this command to enable or disable SNMP notifications for port security address violation, and configure the number of traps per second. Example This example shows how to enable sending trap for port security address violation and set the number of traps per second to 3.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide port. This entry is same as the one learnt under the permanent mode. vlan VLAN-ID Specifies a VLAN. If no VLAN is specified, the MAC address will be set with a PVID. Default By default, this option is disabled. Command Mode Interface Configuration Mode. Command Default Level Level: 12.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# configure terminal Switch(config)# interface eth1/0/1 Switch(config-if)# switchport port-security mode permanent Switch(config-if)# switchport port-security maximum 5 Switch(config-if)# This example shows how to manually add the secure MAC addresses 00-00-12-34-56-78 with VID 5 at interface eth1/0/1.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 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. In order for the inactivity setting to take effect, the FDB table ageing function must be enabled. Example This example shows how to apply the aging time for automatically learned secure MAC addresses for interface eth1/0/1.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# configure terminal Switch(config)# port-security limit global 100 Switch(config)# 442
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 50. Power over Ethernet (PoE) Commands 50-1 poe pd description This command is used to configure the description for the PD connected to the PoE port. Use the no form of this command to clear the description. poe pd description TEXT no poe pd description Parameters TEXT Specifies the string that describes the PD connected to a PoE interface. The maximum length is 32 characters. Default None. Command Mode Interface Configuration Mode.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Interface Configuration Mode. Command Default Level Level: 12. Usage Guideline Use this command to enable the support of legacy PDs connected to the port. If legacy support is disabled, the system will not provide power to the legacy PDs. Example This example shows how to enable legacy support for PDs connected to interface eth3/0/1.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# configure terminal Switch(config)# interface eth3/0/1 Switch(config-if)# poe pd priority critical Switch(config-if)# 50-4 poe policy preempt This command is used to enable disconnection of PD which is power-provisioned with lower priority in order to release the power to the new connected PD with higher priority under power shortage conditions. Use the no form of the command to reset to the default setting.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide poe power-inline {auto [max MAX-WATTAGE] [time-range PROFILE-NAME] | never} no poe power-inline [auto {max | time-range}] Parameters auto Specifies to enable the auto-detection of PDs and provision power to the PD. max MAX-WATTAGE (Optional) Specifies to set the maximum wattage of power that can be provisioned to the auto-detected PD.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# configure terminal Switch(config)# interface eth3/0/1 Switch(config-if)# poe power-inline auto max 7000 Switch(config-if)# This example shows how to disable powered device detection and not to power a PoE port, eth3/0/1.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# configure terminal Switch(config)# poe unit 1 usage-threshold 50 Switch(config)# 50-7 snmp-server enable traps poe This command is used to enable the sending of power over ethernet notifications. Use the no form of the command to disable sending power over Ethernet notifications.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide comma. - (Optional) Specifies a range of interfaces. No spaces before and after the hyphen. Default None. Command Mode Privilege EXEC Mode. Command Default Level Level: 12. Usage Guideline There are counters on ports to record the statistic and they can be shown by show poe power-inline statistics command. Use this command to clear all the counter values on the port.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Command Mode EXEC Mode or Any Configuration Mode. Command Default Level Level: 1. Usage Guideline This command is used to display the PoE status of ports, power inline configuration status, statistic counters, the measurement result, and the data link layer classification information. If the interface ID is not specified with this command, then all PoE interfaces will be displayed. Only the PoE capable interfaces are displayed.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide • [2] - PD Short. • [3] - Overload. • [4] - Power Denied. • [5] - Thermal Shutdown. • [6] - Startup Failure. • [7] - Classification Failure(IEEE 802.3at). Class The IEEE classification: N/A or a value from IEEE class 0 to 4. Max(W) The maximum amount of power could be allocated to the powered device in watts. Used(W) The amount of power is currently allocated to PoE ports in watts.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# show poe power-inline statistics Interface MPS Absent Overload --------- ---------- -------eth3/0/1 2 5 eth3/0/2 2 1 !--- Output suppressed. eth4/0/1 2 0 eth4/0/2 2 0 eth4/0/3 2 0 eth4/0/4 2 0 !--- Output suppressed.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# show poe power-inline lldp-classification Interface eth1/0/1 PSE TX information: Power type; type 2 PSE Power source: primary power source Power priority: low PD requested power value: 25.0W PSE allocated power value: 25.0W Information from PD: Power type: type 2 PD Power source: PSE Power priority: unknown PD requested power value: 25.0W PSE allocated power value: 25.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 50-10 Interface The PoE interface ID. Power type The power type field which is in the Power via MDI TLV from PSE or PD LLDP packet. Power source The power source field which is in the Power via MDI TLV from PSE or PD LLDP packet. Power priority The power priority field which is in the Power via MDI TLV from PSE or PD LLDP packet.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Unit The unit ID of stacking device. Delivered The actual amount of power delivered to the PD in watts. Power budget The total power can be provided by the device in watts. Usage-Threshold The utilization threshold to record a log. Policy Preempt Enabled - The power management mode is policy preempt, high priority PD can preempt the provided power of lower priority PD.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 51. Power Saving Commands 51-1 dim led This command is used to disable the port LED function. Use the no form of the command to restore the LED function. dim led no dim led 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 turn off the port LED function. Use the no form of the command to restore the LED function.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide shutdown. hibernation Specifies that power saving will be applied by scheduled system hibernation. This parameter can only be used when the stacking is disabled. Default By default, all the options are disabled. Command Mode Global Configuration Mode. Command Default Level Level: 12. Usage Guideline The user can enable or disable link detection, dimming LEDs, port shutdown, and hibernation using this command.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Level: 12. Usage Guideline Use this command to enable or disable the specified port’s EEE power saving function. The EnergyEfficient Ethernet (EEE) power-saving mode saves power consumption while a link is up when there is low utilization of packet traffic. The physical interface will enter into a Low Power Idle (LPI) mode when there is no data to be transmitted.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 51-5 power-saving hibernation time-range This command is used to configure the time range profile for the system hibernation schedule. Use the no form of the command to delete the specified time range profile. power-saving hibernation time-range PROFILE-NAME no power-saving hibernation time-range PROFILE-NAME Parameters PROFILE-NAME Specifies the name of the time range profile to be configured. The maximum length is 32 characters.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Command Mode Interface Configuration Mode. Command Default Level Level: 12. Usage Guideline Use this command to add or delete a time range profile for the port shutdown schedule. When the schedule is up, the specific port will be disabled. Example This example shows how to add a time range profile for the port shutdown schedule.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch#show power-saving Function Version: 3.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 52. Protocol Independent Commands 52-1 ip route This command is used to create a static route entry. Use no command to remove a static route entry. ip route NETWORK-PREFIX NETWORK-MASK IP-ADDRESS [primary | backup] no ip route NETWORK-PREFIX NETWORK-MASK IP-ADDRESS Parameters NETWORK-PREFIX Specifies the network address. NETWORK-MASK Specifies the network mask.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide no ipv6 route {default | NETWORK-PREFIX/PREFIX-LENGTH} [INTERFACE-ID] NEXT-HOPADDRESS Parameters default Specifies to add or delete a default route. NETWORK-PREFIX/PREFIXLENGTH Specifies the network prefix and the prefix length of the static route. INTERFACE-ID (Optional) Specifies the forwarding interface for routing the packet.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide connection (Optional) Specifies to display directly connected route. static (Optional) Specifies to display the static route. hardware (Optional) Specifies to display the routes that have been written into chip. Default None. Command Mode EXEC Mode or Any Configuration Mode. Command Default Level Level: 1. Usage Guideline Use this command to display the best routes that are currently at work.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Usage Guideline Use this command to display the brief information for the working routing entries. Example This example shows how to display the IP route entries. Switch#show ip route summary Route Source Connected Static Total Networks 1 0 1 Switch# 52-5 show ipv6 route This command is used to display the entry in routing table.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Example This example shows how to display the routing entries for IPv6. Switch# show ipv6 route IPv6 Routing Table Code: C - connected, S - static C S S 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.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Example This example shows how to display the current state of the IPv6 routing table.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 53. Quality of Service (QoS) Commands 53-1 class This command is used to specify the name of the class map to be associated with a traffic policy and then enter into policy map class configuration mode. Use the no command to remove the policy definition for the specified class. class NAME no class NAME class class-default Parameters NAME Specifies the name of the class map to be associated with a traffic policy. Default None.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide class-map [match-all | match-any] NAME no class-map NAME Parameters NAME Specifies the name of the class map with a maximum of 32 characters. match-all (Optional) Specifies how to evaluate multiple match criteria. Multiple match statements in the class map will be evaluated based on the logical AND. If neither match-all nor match-any is specified, match-any is implied.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Parameters access-group name ACCESSLIST-NAME Specifies an access list to be matched. Traffic that is permitted by the access list will be classified. cos COS-LIST Specifies a specific IEEE 802.1Q CoS value(s) to be matched. The COS-LIST parameter values are from 0 to 7. Enter one or more CoS values separated by commas or hyphen for a range list. [ip] dscp DSCP-LIST Specifies differentiated service code point values to be matched.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide • • • • rtsp - Real-Time Streaming Protocol. ssh - Secured shell. telnet - Telnet. tftp - Trivial File Transfer Protocol. Example This example shows how to specify a class map called “class-home-user” and configures the access list named “acl-home-user” to be used as the match criterion for that class.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide mls qos aggregate-policer NAME KBPS [BURST-NORMAL [BURST-MAX]] [conform-action ACTION] exceed-action ACTION [violate-action ACTION] [color-aware] mls qos aggregate-policer NAME cir CIR [bc COMMITTED-BURST] pir PIR [be PEAK-BURST] [conform-action ACTION] [exceed-action ACTION [violate-action ACTION]] [color-aware] no mls qos aggregate-policer NAME Parameters NAME Specifies the name of the aggregate policing rule.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Global Configuration Mode. Command Default Level Level: 12. Usage Guideline An aggregate policer can be shared by different policy map classes in a policy map. It cannot be shared by separate policy maps. Example This example shows how an aggregate policer named “agg-policer5” with a single rate two color policer is configured.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide When the override option is specified, the port default CoS will be applied to all packets received by the port. Use the override keyword when all incoming packets on certain ports deserve a higher or lower priority than packets that enter from other ports.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 53-7 mls qos map cos-color This command is used to define the CoS to color map for mapping a packet’s initial color. To return the map to the default setting, use the no form of this command. mls qos map cos-color COS-LIST to {green | yellow | red} no mls qos map cos-color Parameters COS-LIST Specifies the list of CoS values to be mapped to a color. The range of CoS is from 0 to 7.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide DSCP-LIST Specifies the list of DSCP code point to be mapped to a color. The range is from 0 to 63. The multiple DSCP values in the list can be in the form separated by commas or a range list. Default There is no mapping. All DSCP code points are mapped to green color. Command Mode Interface Configuration Mode. Command Default Level Level: 12.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide The DSCP to CoS map is used by a DSCP trust port to map a DSCP value to an internal CoS value. In turn this CoS value is then mapped to the CoS queue based on the CoS to queue map configured by the priority-queue cos-map command. Example This example shows how to configure the DSCP to CoS map for mapping DSCP 12, 16, and 18 to CoS 1 for eth2/0/6.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide This example shows how to map DSCP 30 to the mutated DSCP value 8, DSCP 20 to the mutated DSCP 10, with the mutation map named “mutemap1”. Switch# configure terminal Switch(config)# mls qos map dscp-mutation mutemap1 30 to 8 Switch(config)# mls qos map dscp-mutation mutemap1 20 to 10 Switch(config)# 53-11 mls qos scheduler This command is used to configure the scheduling mechanism.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide WRR operates by transmitting permitted packets into the transmit queue in a round robin order. Initially, each queue sets its weight to a configurable weighting. Every time a packet from a higher priority CoS queue is sent, the corresponding weight is subtracted by 1, and the packet in the next lower CoS queue will be serviced. When the weight of a CoS queue reaches zero, the queue will not be serviced until its weight is replenished.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide override is configured, then the CoS specified by command mls qos cos will be the internal CoS of the packet and the CoS value in the packet’s outer VLAN tag.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide dscp-transmit parameter must be issued first followed by the set-1ptransmit parameter. color-aware (Optional) Specifies the option for the single rate three colors policer. When color-aware is not specified, the policer works in the color blind mode. When color-aware is specified, the policer works in the color aware mode. Default None. Command Mode Policy-map Class Configuration Mode. Command Default Level Level: 12.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide interface. In this particular example, traffic policing is configured with an average rate of 8 kilobits per second and a normal burst size of 1 kilobyte for all ingress packets at eth3/0/1.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# configure terminal Switch(config)# mls qos aggregate-policer agg_policer1 10000 16384 exceed-action drop Switch(config)# policy-map policy2 Switch(config-pmap)# class class1 Switch(config-pmap-c)# police aggregate agg_policer1 Switch(config-pmap-c)# exit Switch(config-pmap)# class class2 Switch(config-pmap-c)# police aggregate agg_policer1 Switch(config-pmap-c)# exit Switch(config-pmap)# class class3 Switch(config-pmap-c)# police a
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Only one of the set-dscp-transmit and set-1p-transmit parameters can be used when issuing this command. However, when selecting to use both, the set-dscp-transmit and set-1p-transmit parameters, the setdscp-transmit parameter must be issued first followed by the set-1ptransmit parameter. color-aware (Optional) Specifies the option for a two rate three color policer.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 53-16 policy-map This command is used to enter the policy-map configuration mode and create or modify a policy map that can be attached to one or more interfaces as a service policy. To delete a policy map, use the no form of this command. policy-map NAME no policy-map NAME Parameters NAME Specifies the name of the policy map. The name can be a maximum of 32 alphanumeric characters. Default None.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide priority-queue cos-map QUEUE-ID COS1 [COS2 [COS3 [COS4 [COS5 [COS6 [COS7 [COS8]]]]]]] no priority-queue cos-map Parameters QUEUE-ID Specifies the queue ID the CoS will be mapped. COS1 Specifies the mapping CoS value. Valid values are from 0 to 7. COS2…COS8 (Optional) Specifies the mapping CoS value. Valid values are from 0 to 7.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide is from 1 to 100. MAX-PERCENTAGE Specifies to set the maximum bandwidth by percentage. The valid range is from 1 to 100. Default None. Command Mode Interface Configuration Mode. Command Default Level Level: 12. Usage Guideline Use this command to configure the minimal and maximum bandwidth for a specified queue. When the minimal bandwidth is configured, the packet transmitted from the queue can be guaranteed.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide bandwidth limit. PERCENTAGE Specifies to set the limited rate by percentage. The valid range is 1 to 100. BURST-SIZE (Optional) Specifies the limit for burst traffic in Kbyte. Default By default, there is no limitation. Command Mode Interface Configuration Mode. Command Default Level Level: 12. Usage Guideline The specified limitation cannot exceed the maximum speed of the specified interface.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Usage Guideline Use the service-policy command to attach at most one policy map for input type on an interface. This policy is attached to the interface for aggregate and controls the number or rate of packets. A packet arriving at a port will be treated based on the service policy attached to the interface. Example This example shows how two policy maps are defined: (1) cust1-classes and (2) cust2-classes.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# configure terminal Switch(config)# policy-map cust2-classes Switch(config-pmap)# class gold Switch(config-pmap-c)# police 1600 2000 exceed-action set-dscp-transmit 0 Switch(config-pmap-c)# exit Switch(config-pmap)# class silver Switch(config-pmap-c)# police 4000 2000 exceed-action set-dscp-transmit 0 Switch(config-pmap-c)# exit Switch(config-pmap)# class bronze Switch(config-pmap-c)# police 16000 2000 exceed-action set-dscp-transmi
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Use this command to set the DSCP field, CoS field, or precedence field of the matched packet to a new value. Use the set cos-queue command to directly assign the CoS queue to the matched packets. Configure multiple set commands for a class if they are not conflicting. The set dscp command will not affect the CoS queue selection. The set cos-queue command will not alter the CoS field of the outgoing packet.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# show class-map Class Map match-any class-default Match any Class Map match-all c2 Match protocol ip Class Map match-all c3 Match access-group acl_home_user Switch# 53-23 show mls qos aggregate-policer This command is used to display the configured aggregated policer. show mls qos aggregate-policer [NAME] Parameters NAME (Optional) Specifies the name of the aggregate policer. Default None.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide show mls qos interface INTERFACE-ID [, | -] {cos | scheduler | trust | rate-limit | queue-rate-limit | dscp-mutation | map {dscp-color | cos-color | dscp-cos}} Parameters interface INTERFACE-ID Specifies the interface ID to display. , (Optional) Specifies a series of interfaces, or separate a range of interfaces from a previous range. No space is allowed before and after the comma. - (Optional) Specifies a range of interfaces.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# show mls qos interface eth1/0/2-1/0/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.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# show mls qos interface eth1/0/1-2 queue-rate-limit eth1/0/1 QID Min Bandwidth Max Bandwidth ---- -------------- ------------0 1 16 kbps 10%(100000 kbps) 2 32 kbps 3 2% 50% 4 64 kbps 5 64 kbps 6 32 kbps 7 128 kbps eth1/0/2 QID Min Bandwidth Max Bandwidth ---- -------------- ------------0 1 16 kbps 2 32 kbps 3 32 kbps 4 64 kbps 5 64 kbps 6 32 kbps 7 128 kbps Switch# This example shows how to display the DSCP to color map for port 1/
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide This example shows how to display the DSCP to CoS map for port 1/0/1.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# show mls qos map dscp-mutation DSCP Mutation: mutemapl Attaching interface: eth1/0/1-10,eth2/0/1-5 0 1 2 3 4 5 6 7 8 9 -------------------------------00 00 01 02 03 04 05 06 07 08 09 10 10 11 12 13 14 15 16 17 18 19 20 20 21 22 23 24 25 26 27 28 29 30 30 31 32 33 34 35 36 37 38 39 40 40 41 42 43 44 45 46 47 48 49 50 50 51 52 53 54 55 56 57 58 59 60 60 61 62 63 Switch# 53-26 show mls qos queueing This command is used to display th
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Example This example shows how to display the QoS queuing information. Switch# show mls qos queueing CoS-queue map: CoS QID ----0 2 1 0 2 1 3 3 4 4 5 5 6 6 7 7 Switch# This example shows how to display the weight configuration for the different scheduler on interface eth1/0/3.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 53-27 show policy-map This command is used to display the policy map configuration. show policy-map [POLICY-NAME | interface INTERFACE-ID] Parameters INTERFACE-ID (Optional) Specifies the module and port number. POLICY-NAME (Optional) Specifies the name of the policy map. If not specified, all policy maps will be displayed. Default None. Command Mode EXEC Mode or Any Configuration Mode. Command Default Level Level: 1.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# show policy-map policy1 Policy Map policy1 Class police police cir 500 bc 10 pir 1000 be 10 conform-action transmit exceed-action set-dscptransmit 2 violate-action drop Switch# This example shows how to display all policy maps at port 3/0/1.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# configure terminal Switch(config)# interface eth3/0/1 Switch(config-if)# mls qos scheduler wdrr Switch(config-if)# wdrr-queue bandwidth 1 2 3 4 5 6 7 8 Switch(config-if)# 53-29 wrr-queue bandwidth This command is used to set the queue weight in the WRR scheduling mode. To restore to the default setting, use the no form of this command.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 54. Remote Network MONitoring (RMON) Commands 54-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 INDEX Specifies the Remote Network Monitoring (RMON) table index. The range is from 1 to 65535. owner NAME Specifies the owner string.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide INDEX Specifies the history group table index. The range is from 1 to 65535. owner NAME Specifies the owner string. The maximum length is 127. buckets NUM Specifies the number of buckets specified for the RMON collection history group of statistics. If not specified, the default is 50. The range is from 1 to 65535. interval SECONDS Specifies the number of seconds in each polling cycle. The range is from 1 to 3600.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide rising-threshold VALUE Specifies the rising threshold. The valid range is from 0 to 4294967295. RISING-EVENT-NUMBER (Optional) Specifies the index of the event entry that is used to notify the rising threshold crossing event. The valid range is from 1 to 65535. If not specified, no action is taken while crossing the ringing threshold. falling-threshold VALUE Specifies the falling threshold. The valid range is from 0 to 2147483647.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide description STRING (Optional) Specifies a description for the RMON event entry. Enter a text string with a maximum length of 127 characters. Default None. Command Mode Global Configuration Mode. Command Default Level Level: 12. Usage Guideline If the log and not the trap is specified, the created entry will cause a log entry to be generated on an event occurrence.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# show rmon alarm Alarm index 23, owned by IT Monitors OID: 1.3.6.1.2.1.2.2.1.10.1 every 120 second(s) Taking delta samples, last value was 2500 Rising threshold is 2000, assigned to event 12 Falling threshold is 1100, assigned to event 12 On startup enable rising or falling alarm Switch# 54-6 show rmon events This command is used to display the RMON event table. show rmon events Parameters None. Default None.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 54-7 show rmon history This command is used to display RMON history statistics information. show rmon history Parameters None. Default None. Command Mode EXEC Mode or Any Configuration Mode. Command Default Level Level: 1. Usage Guideline This command displays the history of the statistics for all of the configured entries. Example This example shows how to display RMON Ethernet history statistics.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide show rmon statistics Parameters None. Default None. Command Mode EXEC Mode or Any Configuration Mode. Command Default Level Level: 1. Usage Guideline Statistics for all of the configured entries are displayed. Example This example shows how to display the RMON statistics. Switch# show rmon statistics Index 32, owned by it@domain.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Global Configuration Mode. Command Default Level Level: 12. Usage Guideline This command enables RMON trap state. Example This example shows how to enable the sending of RMON traps for both the falling alarm and rising alarm.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 55. Router Advertisement (RA) Guard Commands 55-1 ipv6 nd raguard policy This command is used to create an RA guard policy. The command will enter into the RA guard policy configuration mode. Use the no command to remove an RA guard policy. ipv6 nd raguard policy POLICY-NAME no ipv6 nd raguard policy POLICY-NAME Parameters POLICY-NAME Specifies the IPv6 RA guard policy name. Default None. Command Mode Global Configuration Mode.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Command Mode RA Guard Policy Configuration Mode. Command Default Level Level: 12. Usage Guideline This command is used to set the role of the attached device. By default, the device role is host, and therefore all the inbound router advertisement and redirect messages are blocked. If the device role is set to router, all messages, Router Solicitation (RS), Router Advertisement (RA), or redirect are allowed on this port.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# configure terminal Switch(config)# ipv6 nd raguard policy raguard1 Switch(config-ra-guard)# match ipv6 access-list list1 Switch(config-ra-guard)# 55-4 ipv6 nd raguard attach-policy This command is used to apply an RA guard policy on a specified interface. Use the no command to remove the binding.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide POLICY-NAME (Optional) Specifies the IPv6 RA guard policy name. Default None. Command Mode EXEC Mode or Any Configuration Mode. Command Default Level Level: 1. Usage Guideline If the policy name is specified, only the specified policy information is displayed. If the policy name is not specified, information is displayed for all policies.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 56. Safeguard Engine Commands 56-1 clear cpu-protect counters This command is used to clear the CPU protect related counters. clear cpu-protect counters {all | sub-interface [manage | protocol | route] | type [PROTOCOLNAME]} Parameters all Specifies to clear all CPU protect counters. sub-interface [manage | protocol | route] Specifies to clear the CPU protect related counters of sub-interfaces.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide RISING-THRESHOLD Specifies to set a percentage value of the rising CPU utilization which will trigger the Safeguard Engine function. Once the CPU utilization rises over the specified percentage, the Safeguard Engine mechanism will initiate. The valid range is from 20 to 100. FALLING-THRESHOLD Specifies to set a percentage value of the falling CPU utilization which will trigger the Safeguard Engine function to cease.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Global Configuration Mode. Command Default Level Level: 12. Usage Guideline The reasons of packets that are destined to the CPU can be classified into three groups: manage, protocol and route. The sub-interface is a logical interface, which handles the CPU received packets by different groups. Generally speaking, the protocol packets should have higher priority to make sure the functions work normally.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide • • • manage: The packets are destined to any router interface or system network management interface via the interactive access protocol, such as Telnet and SSH. protocol: The packets are protocol control packets which can be identified by the router. route: Other packets traversing the router for routing that must be processed by the router’s CPU before it can be routed without the CPU’s involvement.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Command Mode EXEC Mode or Any Configuration Mode. Command Default Level Level: 1. Usage Guideline This command is used to display the settings and status of the Safeguard Engine. Example This example shows how to display the settings and current status of the Safeguard Engine.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Usage Guideline Use this command to display the configured rate limit and drop count of the safeguard engine of a specific group. These counters are counted by the software. Example This example shows how to display the configured rate limit and drop count of the safeguard engine of a specific group.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# show cpu-protect type arp Type: arp Rate Limit: 300 Unit -------------1 3 pps Total --------30 30 Drop --------0 0 Switch# 56-8 snmp-server enable traps safeguard-engine This command is used to enable sending SNMP notifications for Safeguard Engine. Use the no form of the command to disable sending SNMP notifications for Safeguard Engine.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 57. Secure Shell (SSH) Commands 57-1 crypto key generate This command is used to generate the RSA or DSA key pair. crypto key generate {rsa [modulus MODULUS-SIZE] | dsa} Parameters rsa Specifies to generate the RSA key pair. dsa Specifies to generate the DSA key pair. The DSA key size is fixed as 1024 bit. modulus MODULUS-SIZE (Optional) Specifies the number of bits in the modulus.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Parameters rsa Specifies to delete the RSA key pair. dsa Specifies to delete the DSA key pair. Default None. Command Mode Privileged EXEC Mode. Command Default Level Level: 15. Usage Guideline This command deletes the public key pair of the SSH Server. If both RSA and DSA key pairs are deleted, the SSH server will not be in service. Example This example shows how to delete the RSA key.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Level: 12. Usage Guideline Use this command to configure the SSH server parameters on the Switch. The authentication retry number specifies the maximum number of retry attempts before the session is closed. Example This example shows how to configure the SSH timeout value to 160 seconds.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 57-5 ip ssh service-port This command is used to specify the service port for SSH. Use the no command to return the service port to 23. ip ssh service-port TCP-PORT no ip ssh service-port Parameters TCP-PORT Specifies the TCP port number. TCP ports are numbered between 1 and 65535. The “well-known” TCP port for the SSH protocol is 22. Default By default, this value is 22. Command Mode Global Configuration Mode.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Usage Guideline This command displays the RSA or DSA public key pairs. Example This example shows how to information regarding the RSA public key.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 57-8 show ssh This command is used to display the status of SSH server connections. show ssh Parameters None. Default None. Command Mode EXEC Mode or Any Configuration Mode. Command Default Level Level: 1. Usage Guideline Use this command to display the SSH connections’ status on the Switch. Example This example shows how to display SSH connections’ information. Switch# show ssh SID --0 1 Ver.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide ssh user NAME authentication-method {password | publickey URL | hostbased URL host-name HOSTNAME [IP-ADDRESS | IPV6-ADDRESS]} no ssh user NAME authentication-method Parameters user NAME Specifies the username to configure the authentication type. The user must be an existing local account. The length of the username is limited to a maximum of 32 characters.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# configure terminal Switch(config)# ssh user tom authentication-method publickey flash: c:/user1.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 58. Secure Sockets Layer (SSL) Commands 58-1 no certificate This command is used to delete the imported certificate. no certificate NAME Parameters NAME Specifies the name of the certificate to be deleted. Default None. Command Mode Certificate Chain Configuration Mode. Command Default Level Level: 15. Usage Guideline Use the show crypto pki trustpoints command to get a name list of imported certificates.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide crypto pki import TRUSTPOINT pem tftp://IP-ADDRESS/[DIRECTORY/]FILE-NAME [password PASSWORD-PHRASE] {ca | local | both} Parameters TRUSTPOINT Specifies the name of the trust-point that is associated with the imported certificates and key pairs. FILE-SYSTEM Specifies the file system for certificates and key pairs. A colon (:) is required after the specified file system.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# configure terminal Switch(config)# crypto pki import TP1 pem tftp://10.1.1.2/name/msca password abcd1234 both % Importing CA certificate... Destination filename [name/msca.ca]? Reading file from tftp://10.1.1.2/name/msca.ca Loading name/msca.ca from 10.1.1.2 (via eth1/0/5):! [OK - 1082 bytes] % Importing private key PEM file... Reading file from tftp://10.1.1.2/name/msca.prv Loading name/msca.prv from 10.1.1.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# configure terminal Switch(config)# crypto pki trustpimport TP1 Switch(ca-trustpoint)# primary Switch(ca-trustpoint)# 58-4 crypto pki certificate chain This command is used to enter into the certificate chain configuration mode. crypto pki certificate chain NAME Parameters NAME Specifies the name for the trust-point. Default None. Command Mode Global Configuration Mode. Command Default Level Level: 15.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide CA-Trust-Point Configuration Mode. Command Default Level Level: 15. Usage Guideline Use the primary command to specify a given trust-point as primary. This trust-point can be used as default trust-point when the application doesn’t explicitly specify which certificate authority (CA) trust-point should be used. Only one trust-point can be specified as the primary.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# show crypto pki trustpoints Trustpoint Name : Imported certificates: CA : local certificate : local private key : TP1 (primary) Trustpoint Name : Imported certificates: CA : local certificate : local private key : TP2 tongken.ca webserver.crt webserver.prv chunagtel.ca openflow.crt openflow.prv Switch# 58-7 show ssl-service-policy This command is used to display the SSL service policy.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# show ssl-service-policy SSL Policy Name : policy1 Enabled CipherSuites : RSA_WITH_RC4_128_MD5, RSA_WITH_3DES_EDE_CBC_SHA, RSA_EXPORT_WITH_RC4_40_MD5 Session Cache Timeout: 600 Secure Trustpoint : TP1 SSL Policy Name : policy2 Enabled CipherSuites : RSA_WITH_RC4_128_MD5, RSA_WITH_3DES_EDE_CBC_SHA, RSA_EXPORT_WITH_RC4_40_MD5 Session Cache Timeout: 1200 Secure Trustpoint : TP2 Switch# 58-8 ssl-service-policy This command is used to c
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide used. Use the no form of this command to disable the selected cipher suites. secure-trustpoint TRUSTPOINT (Optional) Specifies the name of the trust-point that should be used in SSL handshake. When this parameter is not specified, the trust-point which is specified as the primary will be used. If no primary trust-point is specified, the built-in certificate/key pairs will be used.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 59. Simple Network Management Protocol (SNMP) Commands 59-1 show snmp trap link-status This command is used to display the per interface link status trap state. show snmp trap link-status [interface INTERFACE-ID [, | -]] Parameters INTERFACE-ID (Optional) Specifies the interface ID. If no interface is specified, then all interfaces will be displayed. Default None. Command Mode EXEC Mode or Any Configuration Mode.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide show snmp-server [traps] Parameters traps (Optional) Specifies to display trap related settings. Default None. Command Mode EXEC Mode or Any Configuration Mode. Command Default Level Level: 1. Usage Guideline Use the show snmp-server command to display the SNMP server global state settings. Use the show snmp-server traps command to display trap related settings.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Parameters INTERFACE-ID (Optional) Specifies the interface ID. If no interface is specified, then all ports will be displayed. Default None. Command Mode EXEC Mode or Any Configuration Mode. Command Default Level Level: 1. Usage Guideline Use this command to display the per port trap sending state. Example This example shows how to display the trap sending state for ports eth1/0/1 to eth1/0/9.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Global Configuration Mode. Command Default Level Level: 12. Usage Guideline The SNMP manager manages a SNMP agent by sending SNMP requests to agents and receiving SNMP responses and notifications from agents. The SNMP server on the agent must be enabled before the agent can be managed. Example This example shows how to enable the SNMP server.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 59-6 snmp-server enable traps This command is used to enable the sending of trap packets globally. Use the no command to disable the sending of trap packets. snmp-server enable traps no snmp-server enable traps Parameters None. Default By default, this option is disabled. Command Mode Global Configuration Mode. Command Default Level Level: 12.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide notifications. A linkup (3) trap is generated when the device recognizes that one of the communication links has come up. linkdown (Optional) Specifies to control the sending of SNMP linkDown notifications. A linkDown (2) trap is generated when the device recognizes a failure in one of the communication links. coldstart (Optional) Specifies to control the sending of SNMP coldStart notifications.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide allows spaces. Default None. Command Mode Global Configuration Mode. Command Default Level Level: 12. Usage Guideline Use this command to configure the system’s location information on the Switch. Example This example shows how to configure the system’s location information with the string “HQ 15F”.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch#configure terminal Switch(config)#snmp-server name SiteA-switch SiteA-switch(config)# 59-10 snmp-server trap-sending disable This command is used to disable the port’s trap sending state. Use the no command to disable the port’s trap sending state. snmp-server trap-sending disable no snmp-server trap-sending disable Parameters None. Default By default, this option is enabled. Command Mode Interface Configuration Mode.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide PORT-NUMBER Specifies the UDP port number. The range is from 0 to 65535. Some numbers may conflict with other protocols. Default By default, this number is 161. Command Mode Global Configuration Mode. Command Default Level Level: 12. Usage Guideline Use this command to configure the SNNP UDP port number on the Switch. The agent will listen to the SNMP request packets on the configured service UDP port number.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# configure terminal Switch(config)# snmp-server response broadcast-request Switch(config)# 59-13 snmp trap link-status This command is used to enable the notification of link-up and link-down events that occurred on the interface. Use the no form of this command to disable the notification. snmp trap link-status no snmp trap link-status Parameters None. Default By default, this option is enabled.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide engineID Specifies to display SNMP local engine ID information. Default 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.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# show snmp host Host IP Address SNMP Version Community Name UDP Port : : : : 10.20.30.40 V1 public 50001 Host IP Address SNMP Version SNMPv3 User Name UDP Port : : : : 10.10.10.1 V3 noauthnopriv user1 50001 Host IPv6 Address: SNMP Version : SNMPv3 User Name : UDP Port : 1:12:123::100 V3 noauthnopriv user2 162 Total Entries: 3 Switch# This example shows how to display the MIB view setting.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# show snmp group GroupName: public ReadView : CommunityView NotifyView : CommunityView IP access control list: SecurityModel: v1 WriteView : GroupName: public ReadView : CommunityView NotifyView : CommunityView IP access control list: SecurityModel: v2c WriteView : GroupName: initial ReadView : restricted NotifyView : restricted IP access control list: SecurityModel: v3/noauth WriteView : GroupName: private ReadView : Communit
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide None. Command Mode Privileged EXEC Mode or Any Configuration Mode. Command Default Level Level: 1. Usage Guideline When the username argument is not specified, all configured users will be displayed. The community string created will not displayed by this command. Example This example shows how SNMP users are displayed.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide rw (Optional) Specifies read-write access. IP-ACL-NAME (Optional) Specifies the name of the standard access list to control the user to use this community string to access to the SNMP agent. Specifies the valid user in the source address field of the access list entry. Default Community View Name Access right private CommunityView Read/Write public CommunityView Read Only Command Mode Global Configuration Mode.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Command Default Level Level: 12. Usage Guideline An SNMP engine ID is not displayed or stored in the running configuration. The SNMP engine ID is a unique string to identify the device. A string is generated by default. If you configure a string less than 24 characters, it will be filled with trailing zeros up to 24 characters. Example This example shows how to configure the SNMP engine ID to 332200000000000000000000.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide ReadGroup SNMPv1 noauth CommunityView None CommunityView ReadGroup SNMPv2c noauth CommunityView None CommunityView WriteGroup SNMPv1 noauth CommunityView CommunityView CommunityView WriteGroup SNMPv2c noauth CommunityView CommunityView CommunityView Command Mode Global Configuration Mode. Command Default Level Level: 15.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide IP-ADDRESS Specifies the IPv4 address of the SNMP notification host. IPV6-ADDRESS Specifies the IPv6 address of the SNMP notification host. version (Optional) Specifies the version of the SNMP used to send the traps. If not specified, the default is SNMPv1 1 - SNMPv1. 2c - SNMPv2c. 3 - SNMPv3. auth Specifies to authenticate the packet but not to encrypt it. noauth Specifies not to authenticate and to encrypt the packet.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide This example shows how to configure the trap recipient 163.10.50.126 with version 3 authentication security level and with the username “useraccess”. Switch# configure terminal Switch(config)# snmp-server group groupaccess v3 auth read CommunityView write CommunityView Switch(config)# snmp-server user useraccess groupaccess v3 auth md5 12345678 Switch(config)# snmp-server host 163.10.50.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 59-21 snmp-server user This command is used to create an SNMP user. Use the no 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} Parameters USER-NAME Specifies a username of a maximum of 32 characters. The syntax is general string that does not allow spaces.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 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.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Level: 15. 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.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 60. Single IP Management (SIM) Commands 60-1 sim This command is used to enable single IP management. The no form of this command disables single IP management. sim no sim Parameters None. Default By default, this option is disabled. Command Mode Global Configuration Mode. Command Default Level Level: 12.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide By default, the Switch role is candidate. Command Mode Global Configuration Mode. Command Default Level Level: 12. Usage Guideline There are 3 roles in the single IP management system: Candidate, Commander and Member. The roles of Candidate and Commander can be specified by the user. The Member role can be specified by the command sim group-member on the commander switch.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide This example shows how to add one candidate switch to the single IP management group. Switch# configure terminal Switch(config)# sim group-member 1 secret Switch(config)# 60-4 sim holdtime This command is used to configure the hold-time duration in seconds. One switch (ether the Commander or Member switch) will clear the information of the other switch, after not receiving single IP management messages in the duration time.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Parameters SECONDS Specifies the interval value in seconds. The range is from 30 to 90. Default By default, this value is 30 seconds. Command Mode Global Configuration Mode. Command Default Level Level: 12. Usage Guideline This command is used to configure the SIM interval in seconds for single IP management protocol sending messages. Example This example shows how to configure the interval for the single IP management protocol.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# configure terminal Switch(config)# sim management vlan 100 Switch(config)# 60-7 sim remote-config This command is used to remotely login and configure the single IP management group member or exit from the remote configuration. sim remote-config {member MEMBER-ID | exit} Parameters MEMBER-ID Specifies the member that login. exit Specifies to exit from the current configuring member. Default None.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide URL is located on the member switch. When the running configuration is specified as the destination URL, the purpose is to download the running configuration from the TFTP server to member switches. When the firmware is specified as the destination URL, the purpose is to download the firmware from the TFTP server to member switches. The boot image on the member switches will be replaced by the downloaded file.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide snmp-server enable traps sim no snmp-server enable traps sim 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 sending single IP management trap. Example This example shows how to enable sending single IP management trap.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Command Default Level Level: 1. Usage Guideline This command is used to display single IP management information. Example This example shows how to display detailed local SIM information on the Commander. Switch# show sim SIM Version : VER-1.61 Firmware Version : 1.00.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# show sim members Member Hold Firmware ID MAC Address Platform Time Version Device Name -----------------------------------------------------------------------1 00-01-00-00-12-12 DGS-1510-28P 100 1.00.016 Switch 2 00-02-00-00-12-13 DGS-1510-28P 80 1.00.016 Switch Total Entries : 2 Switch# This example shows how to display one of the SIM member’s information in detail.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# show sim group * -means Commander switch. SIM Group Name : default Hold Firmware ID MAC Address Platform Time Version Device Name ------------------------------------------------------------------------*1 00-01-02-03-04-00 DGS-1510-28P 40 1.00.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# show sim neighbor Port MAC Address Role ----------------------------------eth1/0/1 00-02-00-00-08-12 Member eth1/0/2 00-01-00-00-12-12 Member eth1/0/3 EE-FF-00-00-12-12 Candidate Total Entries : 3 Switch# 569
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 61. Spanning Tree Protocol (STP) Commands 61-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 all Specifies to trigger the detection action for all ports. interface INTERFACE-ID Specifies the port interface that will be triggered the detecting action. Default None. Command Mode Privileged EXEC Mode.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide comma. - (Optional) Specifies a range of interfaces. No space before and after the hyphen. Default None. Command Mode EXEC Mode or Any Configuration Mode. Command Default Level Level: 1. Usage Guideline Use this command to display the Spanning Tree configuration for the single spanning tree when in the RSTP or STP-compatible mode. Example This example shows how to display the spanning tree information when STP is enabled.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide , (Optional) Specifies a series of interfaces, or separate a range of interfaces from a previous range. No space before and after the comma. - (Optional) Specifies a range of interfaces. No space before and after the hyphen. 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.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide By default, this option is disabled. Command Mode Global Configuration Mode. Command Default Level Level: 12. Usage Guideline 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.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# configure terminal Switch(config)# spanning-tree global state enable Switch(config)# 61-6 spanning-tree (timers) This command is used to configure the Spanning Tree timer value. Use the no form of the command to restore the default setting.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 61-7 spanning-tree state This command is used to enable or disable the STP operation. Use the no command to revert to default setting. spanning-tree state {enable | disable} no spanning-tree state Parameters enable Specifies to enable STP for the configured interface. disable Specifies to disable STP for the configured interface. Default By default, this option is enabled. Command Mode Interface Configuration Mode.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Interface Configuration Mode. Command Default Level Level: 12. Usage Guideline In the RSTP or STP-compatible mode, the administrative path cost is used by the single spanning-tree to accumulate the path cost to reach the Root. In the MSTP mode, the administrative path cost is used by the CIST regional root to accumulate the path cost to reach the CIST root.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# configure terminal Switch(config)# interface eth3/0/1 Switch(config-if)# spanning-tree guard root Switch(config-if)# 61-10 spanning-tree link-type This command is used to configure a link-type for a port. To return to the default settings, use the no form of this command. spanning-tree link-type {point-to-point | shared} no spanning-tree link-type Parameters point-to-point Specifies that the port’s link type is point-to-point.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Parameters mstp Specifies the Multiple Spanning Tree Protocol (MSTP). rstp Specifies the Rapid Spanning Tree Protocol (RSTP). stp Specifies the Spanning Tree Protocol (IEEE 802.1D Compatible) Default By default, this mode is rstp. Command Mode Global Configuration Mode. Command Default Level Level: 12. Usage Guideline If the mode is configured as STP or RSTP, all currently running MSTP instances will be cancelled automatically.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Level: 12. Usage Guideline A port can be in one of the following three port fast modes: • • • Edge mode - The port will directly change to the spanning-tree forwarding state when a link-up occurs without waiting for the forward-time delay. If the interface receives a BPDU later, its operation state changes to the non-port-fast state. Disable mode - The port will always be in the non-port-fast state.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# configure terminal Switch(config)# interface eth1/0/7 Switch(config-if)# spanning-tree port-priority 0 Switch(config-if)# 61-14 spanning-tree priority This command is used to configure the bridge priority. It is only used for RSTP and STP versions. Use the no form of this command to restore to the default setting.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Parameters None. Default By default, this option is disabled. Command Mode Interface Configuration Mode. Command Default Level Level: 12. Usage Guideline Enabling TC filtering on a port is useful for an ISP to prevent the external bridge to a core region of the network, causing address flushing in that region, possibly because those bridges are not under the full control of the administrator.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide This command specifies the number of hold BPDUs to transmit. The transmission of BPDUs on a port is controlled by a counter. The counter is incremented on every BPDU transmission and decremented once a second. The transmissions are paused for one second if the counter reaches the transmit hold count. Example This example shows how to configure the transmit hold count value to 5.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 62. Stacking Commands 62-1 stack This command is used to enable the daisy-chain stacking function and use the no stack command to disable the daisy-chain stacking function. stack no stack Parameters None. Default By default, this option is disabled. Command Mode Privileged EXEC Mode. Command Default Level Level: 12.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Default The unit ID is assigned automatically. Command Mode Privileged EXEC Mode. Command Default Level Level: 12. Usage Guideline Initially, a switch unit has no unit ID assigned. When this switch unit is initialized or is added to a stack, it will get a unit ID auto-assigned by the master unit.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Command Default Level Level: 12. Usage Guideline Use this command to configure the priority for the specified switch unit. When switch units are daisychained together as a stack, the unit with the best priority will be elected as the master. The unit with the next best priority will be elected as the backup master. A lower value means the higher priority.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide snmp-server enable traps stack no snmp-server enable traps stack Parameters None. Default By default, this option is disabled. Command Mode Privileged EXEC Mode. Command Default Level Level: 12. Usage Guideline Use this command to enable sending of stacking related traps. Example This example shows how to enable sending of stacking related traps.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch#show stack Stacking Mode Stack Preempt Trap State : Enabled : Enabled : Disabled Topology My Box ID Master ID Box Count : : : : Box ID --1 2 3 4 5 6 User Set ---Auto - Module Name ------------DGS-1510-28P NOT_EXIST NOT_EXIST NOT_EXIST NOT_EXIST NOT_EXIST Duplex_Chain 1 1 1 PrioExist rity MAC ----- ----- ----------------Exist 32 00-01-02-03-04-00 No No No No No Switch# 587 Prom Version --------1.00.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 63. Storm Control Commands 63-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 the command to disable sending SNMP notifications.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Parameters broadcast Specifies to set the broadcast rate limit. multicast Specifies to set the multicast rate limit. 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.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide This example shows how to enable broadcast storm control on eth3/0/1 and eth3/0/2. It sets the threshold of eth3/0/1 to 500 packets per second with the shutdown action and sets the threshold of the interface port 3.2 to 70% with the drop action.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# configure terminal Switch(config)# storm-control polling interval 15 Switch(config)# 63-4 show storm-control This command is used to display the current storm control settings. show storm-control interface INTERFACE-ID [, | -] [broadcast | multicast | unicast] Parameters INTERFACE-ID Specifies the port’s interface ID. , (Optional) Specifies a series of interfaces, or separate a range of interfaces from a previous range.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# show storm-control interface range ethernet 3/0/1-3/0/6 broadcast Polling Interval : 15 sec Shutdown Retries Interface Action Threshold Current State ----------------------------------------------------------eth3/0/1 Drop 500/300 pps 200 pps Forwarding eth3/0/2 Drop 80/64 % 20 % Forwarding eth3/0/3 Drop 80/64 % 70 % Dropped eth3/0/4 Shutdown 60/50 % 20 % Forwarding eth3/0/5 None 60000/50000 kbps 2000 kbps Forwarding eth3/0/6 None I
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Link Down: The port is physically linked down. Inactive: Indicates that storm control is not enabled for the given traffic type.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 64. Surveillance VLAN Commands 64-1 surveillance vlan This command is used to enable the global surveillance VLAN state and configure the surveillance VLAN. Use no form of this command to disable the surveillance VLAN state. surveillance vlan VLAN-ID no surveillance vlan Parameters VLAN-ID Specifies the ID of the surveillance VLAN. The range is from 2 to 4094. Default By default, this option is disabled.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide surveillance vlan aging MINUTES no surveillance vlan aging 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.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Level: 12. Usage Guideline The command is available for physical port and port-channel interface configuration. The command takes effect for access ports or hybrid ports. Use this command to enable the surveillance VLAN function for ports.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide maximum of 32 characters. Default OUI Vendor Mnemonic Name F0:7D:68:0x:xx:xx D-Link D-Link IP camera 28:10:7B:00:00:00 ~ 28:10:7B:2F:FF:FF D-Link Network camera, Video server, NVR 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.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Command Default Level Level: 12. Usage Guideline The surveillance packets arriving at the surveillance VLAN enabled port are marked to the COS specified by the command. The remarking of COS allows the surveillance VLAN traffic to be distinguished from data traffic in quality of service. Example This example shows how to configure the priority of the surveillance VLAN to be 7.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide The show surveillance vlan device command is used to display the surveillance device discovered by its OUI. Example This example shows how to displays the surveillance VLAN global settings.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 65. Switch Port Commands 65-1 duplex This command is used to configure the physical port interface’s duplex setting. Use the no form of command to revert to the default setting. duplex {full | half | auto} no duplex Parameters full Specifies that the port operates in the full-duplex mode. half Specifies that the port operates in the half-duplex mode. auto Specifies that the port’s duplex mode will be determined by autonegotiation.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide flowcontrol {on | off} no flowcontrol Parameters on Specifies to enable a port to send PAUSE frames or process PAUSE frames from remote ports. off 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. Command Default Level Level: 12.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide normal Specifies to force the port interface’s MDIX state to the normal mode. cross Specifies to force the port interface’s MDIX state to the cross mode. Default By default, this option is set as auto. Command Mode Interface Configuration Mode. Command Default Level Level: 12. Usage Guideline This command cannot be applied to a port when the medium of the port interface is fiber.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide to separate multiple speeds. If the speed list is not specified, all speed will be advertised. Default The speed will be set as auto for 1000BASE-T interfaces. Command Mode Interface Configuration Mode. Command Default Level Level: 12. Usage Guideline If the specified speed is not supported by the hardware, error messages will be returned.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Command Default Level Level: 12. Usage Guideline Use this command to enable automatically downgrading advertised speed in case a link cannot be established at the available speed. Example This example shows how to enable speed auto-downgrade.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 66. System File Management Commands 66-1 boot config This command is used to specify the file that will be used as the configuration file for the next boot. boot config URL Parameters URL Specifies the URL of the file to be used as the startup configuration file. Default By default, the config.cfg file is used. Command Mode Global Configuration Mode. Command Default Level Level: 15.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Global Configuration Mode. Command Default Level Level: 15. Usage Guideline When using the boot image command, the associated specified boot image file will be the startup boot image file for the next reboot. Use this command to assign a file as the next-boot image file. The system will check the model and checksum to determine whether the file is a valid image file.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide None. Default None. Command Mode Privilege EXEC Mode. Command Default Level Level: 15. Usage Guideline Use this command to clear the system’s configuration retained in DRAM. The configuration data will revert to the default settings. Before using this command, save a backup of the configuration using the copy command or upload the configuration profile to the TFTP server.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide switch. Before using this command, save a backup of the configuration using the copy command or upload the configuration profile to the TFTP server. Example This example shows how to reset the system to the factory default settings. Switch# reset system This command will clear all of system configuration as factory default setting including IP parameters and stacking information.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Before using the configure replace command, save a backup of the configuration using the copy command or upload the configuration profile to the TFTP server. Example This example shows how to download the “config.cfg” from the TFTP server and replace the current running configuration with it. Switch# configure replace tftp: //10.0.0.66/config.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide the startup configuration or to save it as the file in the file system. If flash: [PATH-FILE-NAME] is specified as the SOURCE-URL, the purpose is to specify the source file to be copied in the file system. If log is specified as the SOURCE-URL, the system log can be retrieved to the TFTP server or saved as the file in the file system. If attack-log UNIT-ID is specified as the SOURCE-URL, the purpose is to upload one unit’s attack log.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide This example shows how to configure the Switch’s running configuration by using the increment method using the configuration called “switch-config.cfg” that is download from the TFTP server 10.1.1.254. Switch# copy tftp: //10.1.1.254/switch-config.cfg running-config Address of remote host []? 10.1.1.254 Source filename []? switch-config.cfg Destination filename running-config? [y/n]: y Accessing tftp://10.1.1.254/switch-config.cfg...
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# copy tftp: //10.1.1.254/image.had flash: image.had Address of remote host [10.1.1.254]? Source filename [image.had]? Destination filename [image.had]? Accessing tftp://10.1.1.254/image.had... Transmission start... Transmission finished, file length 8315060 bytes. Transmission to slave start................. Done. Transmission to slave finished, file length 8315060 bytes. Please wait, programming flash.............. Done.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 66-8 show boot This command is used to display the boot configuration file and the boot image setting. show boot [unit UNIT-ID] Parameters UNIT-ID (Optional) Specifies the unit to be displayed. Default None. Command Mode EXEC Mode or Any Configuration Mode. Command Default Level Level: 1. Usage Guideline This command is used to display the boot configuration file and the boot image setting.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Command Default Level Level: 15. Usage Guideline This command displays the current running system configuration. Example This example shows how to display the content of the running configuration file. Switch#show running-config Building configuration...
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Command Default Level Level: 15. Usage Guideline This command displays the configuration settings that the system will be initialized with. Example This example shows how to display the content of the startup configuration file. Switch# show startup-config #------------------------------------------------------------------------------# DGS-1510-28P Gigabit Ethernet SmartPro Switch # Configuration # # Firmware: Build 1.00.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 67. System Log Commands 67-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. Usage Guideline This command deletes all the log messages in the system logging buffer. Example This example shows how to delete all the log messages in the logging buffer.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide SEVERITY-NAME (Optional) Specifies the severity level of system messages by one of the following names: emergencies, alerts, critical, errors, warnings, notifications, informational, debugging. discriminator (Optional) Specifies to filter the message to be sent to local buffer based on the discriminator. write-delay SECONDS (Optional) Specifies to disable periodical writing of the logging buffer to the FLASH.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide the local console. This value must be between 0 and 7. 0 is the most severe level. If not specified, the default severity level is warnings (4). SEVERITY-NAME (Optional) Specifies the severity level of system messages by one of the following names: emergencies, alerts, critical, errors, warnings, notifications, informational, debugging.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide includes Specifies to include the matching message. The unmatched messages are filtered. drops Specifies to filter the matching message. severity (Optional) Specifies a sub-filter based on severity matching. SEVERITY-LIST Specifies a list of severity levels to be filtered or to be included. Default None. Command Mode Global Configuration Mode. Command Default Level Level: 12.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide discriminator (Optional) Specifies to filter the message to the log server based on discriminator. port UDP-PORT (Optional) Specifies the UDP port number to be used for the SYSLOG server. Valid values are 514 (the IANA well-known port) or any value from 1024 to 65535. If not specified, the default UDP port is 514. Default None. Command Mode Global Configuration Mode. Command Default Level Level: 12.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 23 Local use 7 (local7). Example 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 Switch(config)# 20.3.3.3 severity warnings 67-6 logging source-interface This command is used to specify the interface whose IP address will be used as the source address for sending the SYSLOG packet.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Parameters all Specifies to display all log entries starting from the latest message.. REF-SEQ Specifies to start the display from the reference sequence number. + NN Specifies the number of messages that occurred after the specified reference sequence number. If the reference index is not specified, it starts from the eldest message in the buffer.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide UNIT-ID Specifies the unit on which the attack log messages will be displayed. INDEX Specifies the list of index numbers of the entries that need to be displayed. If no index is specified, all entries in the attack log DB will be displayed. Default None. Command Mode EXEC Mode or Any Configuration Mode. Command Default Level Level: 1. Usage Guideline Use this command to display the attack log messages.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Example This example shows how to delete all the attack log messages.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 68. Time and SNTP Commands 68-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. DAY Specifies the current day (by date) in the month. MONTH Specifies the current month (by name, January, Jan, February, Feb, and so on). YEAR Specifies the current year (no abbreviation). Default None.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide no clock summer-time 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. WEEK Specifies the week of the month (1 to 4 or last). DAY Specifies the day of the week (sun, mon, and so on). DATE Specifies the date of the month (1 to 31).
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Parameters +|- +: Specifies that time to be added to the UTC. -: Specifies that time to be subtracted from the UTC. HOURS-OFFSET Specifies the hours difference from UTC. MINUTES-OFFSET (Optional) Specifies the minutes difference from UTC. Default By default, this option is set to UTC. Command Mode Global Configuration Mode. Command Default Level Level: 12.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# show clock Current Time Source Current Time Time Zone Daylight Saving Time Offset in Minutes Recurring From To : : : : : : : SNTP 18:20:04, 2013-07-04 UTC +02:30 Recurring 30 Apr 2nd Tue 15:00 Oct 2nd Wed 15:30 Switch# 68-5 show sntp This command is used to display information about the SNTP server. show sntp Parameters None. Default None. Command Mode EXEC Mode or Any Configuration Mode. Command Default Level Level: 1.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# show sntp SNTP Status SNTP Pool Interval :Enabled : 720 seconds SNTP Server Status: SNTP Server ---------------------------------------------10.0.0.11 10.0.0.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Use the no command to delete the SNTP server entry. To delete an entry, specify the information exactly the same as the originally configured setting. The time obtained from the SNTP server refers to the UTC time. Example This example shows how to configure a switch to allow its software clock to be synchronized with the clock by the SNTP server at IP address 192.168.22.44. Switch# configure terminal Switch(config)# sntp server 192.168.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Parameters SECONDS Specifies the synchronization interval from 30 to 99999 seconds. Default By default, this value is 720 seconds. Command Mode Global Configuration Mode. Command Default Level Level: 12. Usage Guideline This command is used to set the polling interval. Example This example shows how to configure the interval to 100 seconds.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 69. Time Range Commands 69-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.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide show time-range [NAME] 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.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Global Configuration Mode. Command Default Level Level: 12. Usage Guideline Use this command to enter the time range configuration mode before using the periodic command to specify a time period. When a time-range is created without any time interval (periodic) setting, it implies that there is not any active period for the time-range.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 70. Traffic Segmentation Commands 70-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. The acceptable interface will be physical port or port channel.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide no traffic-segmentation forward interface INTERFACE-ID [, | -] Parameters INTERFACE-ID Specifies the ID of an interface allowed. The allowed interfaces include physical port. , (Optional) Specifies a series of interfaces, or separate a range of interfaces from a previous range. No space before and after the comma. - (Optional) Specifies a range of interfaces. No space before and after the hyphen. Default None.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 71. Virtual LAN (VLAN) Commands 71-1 acceptable-frame This command is used to set the acceptable types of frames by a port. Use the no form of the command to reset to the default setting. acceptable-frame {tagged-only | untagged-only | admit-all} no acceptable-frame Parameters tagged-only Specifies that only tagged frames are admitted. untagged-only Specifies that only untagged frames are admitted.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Default By default, this option is enabled. Command Mode Interface Configuration Mode. Command Default Level Level: 12. Usage Guideline Use this command to enable ingress checking for packets received by the interface. If ingress checking is enabled, the packet will be dropped if the received port is not a member port of the VLAN classified for the received packet.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Example This example shows how to display all the current VLAN entries. 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.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch#show vlan interface eth1/0/1-1/0/4 eth1/0/1 VLAN mode Native VLAN Hybrid untagged VLAN Hybrid tagged VLAN Ingress checking Acceptable frame type Dynamic tagged VLAN : : : : : : : Hybrid 1 1 eth1/0/2 VLAN mode Native VLAN Hybrid untagged VLAN Hybrid tagged VLAN Ingress checking Acceptable frame type Dynamic tagged VLAN : : : : : : : Hybrid 1 1 eth1/0/3 VLAN mode Native VLAN Hybrid untagged VLAN Hybrid tagged VLAN Ingress checki
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide access vlan VLAN-ID Specifies the access VLAN of the interface. Default By default, this access VLAN is VLAN 1. Command Mode Interface Configuration Mode. Command Default Level Level: 12. Usage Guideline The command takes effect when the interface is set to access mode. The VLAN specified as the access VLAN does not need to exist to configure the command. Only one access VLAN can be specified.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide By default, a hybrid port is an untagged member port of VLAN 1. Command Mode Interface Configuration Mode. Command Default Level Level: 12. Usage Guideline By setting the hybrid VLAN command multiple times with different VLAN IDs, a port can be a tagged member port or an untagged member port of multiple VLANs. When the allowed VLAN is only specified as the VLAN ID, the succeeding command will overwrites the previous command.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 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. The command takes effect when the interface is set to hybrid mode. Example This example shows how to configure interface eth1/0/1 to become a hybrid interface and configure the PVID to 20.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# configure terminal Switch(config)# interface eth1/0/1 Switch(config-if)# switchport mode trunk Switch(config-if)# 71-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.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# configure terminal Switch(config)# interface eth1/0/1 Switch(config-if)# switchport mode trunk Switch(config-if)# switchport trunk allowed vlan add 1000 Switch(config-if)# 71-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.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide vlan VLAN-ID [, | -] no vlan VLAN-ID [, | -] Parameters VLAN-ID Specifies the ID of the VLAN to be added, removed or configured. The valid VLAN ID range is from 1 to 4094. VLAN ID 1 cannot be removed. , 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.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Default The default VLAN name is VLANx, where x represents four numeric digits (including the leading zeros) that are equal to the VLAN ID. Command Mode VLAN Configuration Mode. Command Default Level Level: 12. Usage Guideline Use this command to specify the name of a VLAN. The VLAN name must be unique within the administrative domain. Example This example shows how to configure the VLAN name of VLAN 1000 to be “admin-vlan”.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 72. Voice VLAN Commands 72-1 voice vlan This command is used to enable the global voice VLAN state and configure the voice VLAN. Use no form of this command to disable the voice VLAN state. voice vlan VLAN-ID no voice vlan Parameters VLAN-ID Specifies the ID of the voice VLAN. The valid range is from 2 to 4094. Default By default, this option is disabled. Command Mode Global Configuration Mode. Command Default Level Level: 12.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Parameters MINUTES Specifies the aging time of the voice VLAN. The valid range is from 1 to 65535 minutes. Default By default, this value is 720 minutes. Command Mode Global Configuration Mode. Command Default Level Level: 12. Usage Guideline Use this command to configure the aging time for aging out the voice device and the voice VLAN automatically learned member ports.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide the voice vlan enable command in the interface configuration mode need to be enabled for a port to start the voice VLAN function. Example This example shows how to enable the voice VLAN function on the physical port eth1/0/1. Switch# configure terminal Switch(config)# interface eth1/0/1 Switch(config-if)# voice vlan enable Switch(config-if)# 72-4 voice vlan mac-address This command is used to add the user-defined voice device OUI.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Use this command to add a user-defined OUI for the voice VLAN. The OUI for the voice VLAN is used to identify the voice traffic by using the voice VLAN function. If the source MAC addresses of the received packet matches any of the OUI patterns, the received packet is determined as a voice packet. The user-defined OUI cannot be the same as the default OUI. The default OUI cannot be deleted.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide If auto learning is disabled, the user should use the switchport hybrid vlan command to configure the port as a voice VLAN tagged or untagged member port. Example This example shows how to configure physical port eth1/0/1 to be in the auto tag mode.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide show voice vlan {device | lldp-med device} [interface INTERFACE-ID [, | -]] Parameters interface (Optional) Specifies to display voice VLAN information of ports. INTERFACE-ID (Optional) Specifies the interface to display. , (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.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# show voice vlan Voice VLAN ID : 1000 Voice VLAN CoS : 7 Aging Time : 30 minutes Member Ports : eth1/0/1-1/0/5 Dynamic Member Ports : eth1/0/1-1/0/3 Voice VLAN OUI: OUI Address ---------------00-01-E3-00-00-00 00-03-6B-00-00-00 00-09-6E-00-00-00 00-0F-E2-00-00-00 00-60-B9-00-00-00 00-D0-1E-00-00-00 00-E0-75-00-00-00 00-E0-BB-00-00-00 00-02-03-00-00-00 Mask ----------------FF-FF-FF-00-00-00 FF-FF-FF-00-00-00 FF-FF-FF-00-00-00 FF-FF-
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Switch# show voice vlan device interface eth1/0/1-2 Interface --------eth1/0/1 eth1/0/1 eth1/0/1 eth1/0/2 eth1/0/2 Device Address -----------------00-03-6B-00-00-01 00-03-6B-00-00-02 00-03-6B-00-00-05 00-03-6B-00-00-0a 33-00-61-10-00-11 Start Time ----------------2012-03-19 09:00 2012-03-20 10:09 2012-03-20 12:04 2012-03-19 08:11 2012-03-20 06:45 Status ------Active Aging Active Aging Aging Total Entries: 5 Switch# This example shows
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 73. Web Authentication Commands 73-1 web-auth enable This command is used to enable the Web authentication function on the port. Use the no form of this command to disable the Web authentication function. web-auth enable no web-auth enable Parameters None. Default By default, this option is disabled. Command Mode Interface Configuration Mode. Command Default Level Level: 12.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide maximum number can be up to 64 characters. username-title STRING Specifies the user name title of Web authentication login window. The maximum number can be up to 32 characters. password-title STRING Specifies the password title of Web authentication login window. The maximum number can be up to 32 characters. logout-window-title STRING Specifies the title of the Web authentication logout window.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide web-auth success redirect-path STRING no web-auth success redirect-path Parameters STRING Specifies the default URL the client Web browser will be redirected to after successful authentication. If no default redirect URL is specified, the Web authentication logout page will be displayed. The default redirect path can be up to 128 characters. Default By default, the Web authentication logout page is displayed.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Usage Guideline Web authentication is a feature designed to authenticate a user by using the Web browser when the user is trying to access the Internet via the Switch. The Switch itself can be the authentication server and do the authentication based on a local database or be a RADIUS client and perform the authentication process via RADIUS protocol with remote RADIUS server.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide This example shows how to configure the Web authentication virtual IPv4 to be “1.1.1.1” and the FQDN URL to be “www.website4.co”. Switch# configure terminal Switch(config)# web-auth virtual-ip Switch(config)# web-auth virtual-ip Switch(config)# ipv4 1.1.1.1 url www.website4.co This example shows how to Switch# configure terminal configure the Web authentication virtual IPv6 to be “2000::2” and the FQDN URL to be “www.website6.co”.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Appendix A - System Log Entries The following table lists all possible entries and their corresponding meanings that will appear in the System Log of this switch. 802.1X Log Description Severity Event description: 802.1X Authentication failure. Log Message: 802.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide client-ip: It indicates the client’s IP address if valid through IP protocol. aaa-method: It indicates the authentication method, e.g.: none, local, server. server-ip: It indicates the AAA server IP address if authentication method is remote server. Username: It indicates the username for authentication. Event description: This log will be generated when login failure.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Event description: This log will be generated when the remote server does not respond to the enable password authentication request. Log Message: Enable privilege failed through due to AAA server timeout (Username: ). Parameters description: exec-type: It indicates the EXEC types, e.g.: Console, Telnet, SSH, Web, Web(SSL).
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Auto Surveillance VLAN Log Description Severity Event description: When a new surveillance device is detected on an interface. Log Message: New surveillance device detected (, MAC: < macaddress >) Parameters description: interface-id: Interface name. mac-address: Surveillance device MAC address.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide macaddr : Represent client MAC address. serverIP: Server IP address. pathFile: Path and file name on server. Event description: Firmware uploaded successfully. Log Message: [Unit , ]Firmware uploaded by successfully (Username: [, IP: , MAC: ], Server IP: , File Name: ) Parameters description: unitID: The unit ID. session: The user’s session.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide serverIP: Server IP address. pathFile: Path and file name on server. Event description: Configuration uploaded successfully. Log Message: [Unit , ]Configuration uploaded by successfully. (Username: [, IP: , MAC: ], Server IP: , File Name: ) Parameters description: unitID: The unit ID. session: The user’s session. username: Represent current login user.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide threshold. Log Message: Optical transceiver warning threshold exceeded. Parameters description: interface-id: port interface ID. component: DDM threshold type. It can be one of the following types: temperature supply voltage bias current TX power RX power high-low: High or low threshold. Event description: when the any of SFP parameters exceeds from the alarm threshold.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide RX power high-low: High or low threshold. DHCPv6 Client Log Description Severity Event description: DHCPv6 client interface administrator state changed. Log Message: DHCPv6 client on interface changed state to [enabled | disabled]. Parameters description: : Name of the DHCPv6 client interface. Informational Event description: DHCPv6 client obtains an ipv6 address from a DHCPv6 server.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Parameters description: ipv6address: ipv6 address obtained from a DHCPv6 server. ipif-name: Name of the DHCPv6 client interface. Event description: DHCPv6 client PD interface administrator state changed. Log Message: DHCPv6 client PD on interface changed state to Parameters description: intf-name: Name of the DHCPv6 client PD interface.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide DHCPv6 Relay Log Description Severity Event description: DHCPv6 relay on a specify interface’s administrator state changed Log Message: DHCPv6 relay on interface changed state to [enabled | disabled] Parameters description: : Name of the DHCPv6 relay agent interface.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide JWAC Log Description Severity Event description: when a host has passed the authentication. Log Message: JWAC host login success (Username: , IP: , MAC: , , VID: ). Parameters description: Username: The host username. IP: The host IP address mac-address: The host MAC addresses. interface-id: The interface on which the host is authenticated.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Parameters description: ifname: The interface name of the port that detach from aggregation group. group_id: The group id of the aggregation group that port detach from. LBD Log Description Severity Event description: Record the event when an interface detect loop. Log Message: LBD loop occurred. Parameters description: interface-id: Interface on which loop is detected.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 7. local(7) chassisID: chassis ID. portType: port ID subtype. Value list: 1. interfaceAlias(1) 2. portComponent(2) 3. macAddress(3) 4. networkAddress(4) 5. interfaceName(5) 6. agentCircuitId(6) 7. local(7) portID: port ID. deviceClass: LLDP-MED device type.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 1. chassisComponent(1) 2. interfaceAlias(2) 3. portComponent(3) 4. macAddress(4) 5. networkAddress(5) 6. interfaceName(6) 7. local(7) chassisID: chassis ID. portType: port ID subtype. Value list: 1. interfaceAlias(1) 2. portComponent(2) 3. macAddress(3) 4. networkAddress(4) 5. interfaceName(5) 6. agentCircuitId(6) 7. local(7) portID: port ID. deviceClass: LLDP-MED device type.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Log Message: Successful login through Telnet (Username: , IP: ) Parameters description: username: Represent current login user. ipaddr: Represent client IP address. Event description: Login through telnet unsuccessfully. Log Message: Login failed through Telnet (Username: , IP: ) Parameters description: username: Represent current login user. ipaddr: Represent client IP address.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Log Message: MAC-based Access Control host login success (MAC: , , VID: ). Parameters description: mac-address: The host MAC address interface-id: The interface on which the host is authenticated vlan-id: The VLAN ID on which the host exists Event description: A host has aged out. Log Message: MAC-based Access Control host aged out (MAC: , , VID: ).
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Event description: Used to record MSTP instance topology change event. Log Message: Topology changed (Instance : < Instance-id >,, MAC: ) Parameters description: Instance-id: MST instance id. Instance 0 represents for default instance, CIST. interface_id: The port number which detect or reive topochange information. macaddr: The system of bridge mac address.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Parameters description: Instance-id: MST instance id. Instance 0 represents for default instance, CIST. Event description: Use to record action to delete an MST instance. Log Message: Spanning Tree instance deleted (Instance :< Instance-id >) Parameters description: Instance-id: MST instance id. Instance 0 represents for default instance, CIST. Informational Event description: Use to record action to change the STP version.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Event description: Fan Recovered. Log Message: Unit , back to normal. Parameters description: Unit : The unit ID. fan-descr: The FAN ID and position. Critical Event description: Fan Fail Log Message: Unit failed Parameters description: Unit : The unit ID. fan-descr: The FAN ID and position. Critical Event description: Temperature sensor enters alarm state.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Log Message: Unit usage threshold is recovered Parameters description: unit-id : box id percentage : usage threshold Port Security Log Description Severity Event description: Address full on a port Log Message: MAC address causes port security violation on . Parameters description: macaddr: The violation MAC address. interface-id: The interface name.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Log Message: SSH server is disabled Event description: Login failed through SSH. Log Message: Login failed through SSH (Username: , IP: ). Parameters description: username: User name which logs in fail. ipaddr: IP address of host from which the user logged in. ipv6address: IPv6 address of host from which the user logged in. Critical Log Description Severity Event description: Hot insertion.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Storm Control Log Description Severity Event description: Storm occurrence. Log Message: storm is occurring on . 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.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Event description: When an interface leaves the voice VLAN and at the same time, no voice device is detected in the aging interval for that interface, the log message will be sent. Log Message: < interface-id > remove from voice VLAN Parameters description: interface-id: Interface name. vid:VLAN ID Informational Log Description Severity Event description: Successful login through Web.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Log Message: Web-Authentication host login fail (Username: , IP: , MAC: , , VID: ). Parameters description: Username: The host username. IP: The host IP address mac-address: The host MAC addresses.. interface-id: The interface on which the host is authenticated.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Appendix B - Trap Entries The following table lists all possible trap log entries and their corresponding meanings that will appear in the switch. 802.1X Trap Name Description OID dDot1xExtLoggedSuccess The trap is sent when a host has successfully logged in (passed 802.1X authentication). Binding objects: (1) ifIndex (2) dnaSessionClientMacAddress (3) dnaSessionAuthVlan (4) dnaSessionAuthUserName 1.3.6.1.4.1.17 1.14.30.0.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide warning situation occurs, or recovers from an abnormal warning situation to normal status. Binding objects: (1) dDdmNotifyInfoIfIndex, (2) dDdmNotifyInfoComponent (3) dDdmNotifyInfoAbnormalLevel (4) dDdmNotifyInfoThresholdExceedOrRecover 1.14.72.0.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide dGenMgmtLoginFail This trap is sent when the user login failed to the switch. Binding objects: (1) dGenMgmtNotifyInfoLoginType (2) dGenMgmtNotifyInfoUserName 1.3.6.1.4.1.17 1.14.165.0.1 Trap Name Description OID agentGratuitousARPTrap The trap is sent when IP address conflicted. Binding objects: (1) ipaddr (2) macaddr (3) portNumber (4) agentGratuitousARPInterfaceName 1.3.6.1.4.1.17 1.14.75.0.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide (2) if AdminStatus (3) ifOperStatu LBD Trap Name Description OID dLbdLoopOccurred This trap is sent when an interface loop occurs. Binding objects: (1) dLbdNotifyInfoIfIndex 1.3.6.1.4.1.17 1.14.46.0.1 dLbdLoopRestart This trap is sent when an interface loop restarts after the interval time. Binding objects: (1) dLbdNotifyInfoIfIndex 1.3.6.1.4.1.17 1.14.46.0.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Trap Name Description OID dMacAuthLoggedSuccess The trap is sent when a MAC-based Access Control host is successfully logged in. Binding objects: (1) ifIndex, (2) dnaSessionClientMacAddress (3) dnaSessionAuthVlan 1.3.6.1.4.1.17 1.14.153.0.1 dMacAuthLoggedFail The trap is sent when a MAC-based Access Control host login fails. Binding objects: (1) ifIndex, (2) dnaSessionClientMacAddress (3) dnaSessionAuthVlan 1.3.6.1.4.1.17 1.14.153.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide dEntityExtPowerStatusChg Power Status change notification. Binding objects: (1) dEntityExtEnvPowerUnitId (2) dEntityExtEnvPowerIndex (3) dEntityExtEnvPowerStatus 1.3.6.1.4.1.17 1.14.5.0.3 dEntityExtFanStatusChg Fan status change notification. Binding objects: (1) dEntityExtEnvFanUnitId (2) dEntityExtEnvFanIndex (3) dEntityExtEnvFanStatus 1.3.6.1.4.1.17 1.14.5.0.1 dEntityExtThermalStatusChg Temperature status change notification.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide must elapse between notifications being emitted by the same object instance. Binding objects: (1) pethPsePortShortCounter Port Trap Name Description OID linkUp A notification is generated when port linkup. Binding objects: (1) ifIndex (2) if AdminStatus (3) ifOperStatu 1.3.6.1.6.3.1. 1.5.4 linkDown A notification is generated when port linkdown. Binding objects: (1) ifIndex (2) if AdminStatus (3) ifOperStatu 1.3.6.1.6.3.1. 1.5.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide (1)alarmIndex (2) alarmVariable (3)alarmSampleType (4)alarmValue (5) alarmFallingThreshold Safeguard Trap Name Description OID dSafeguardChgToExhausted This trap indicates System change operation mode from normal to exhaust. Binding objects: (1) dSafeguardEngineCurrentMode 1.3.6.1.4.1.17 1.14.19.1.1.0. 1 dSafeguardChgToNormal This trap indicates system change operation mode from exhausted to normal.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide swSingleIPMSColdStart The commander switch will send this notification when its member generates a cold start notification. Binding objects: (1) swSingleIPMSID (2) swSingleIPMSMacAddr 1.3.6.1.4.1.17 1.12.8.6.0.11 swSingleIPMSWarmStart The commander switch will send this notification when its member generates a warm start notification. Binding objects: (1) swSingleIPMSID (2) swSingleIPMSMacAddr 1.3.6.1.4.1.17 1.12.8.6.0.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide its configuration is unaltered. Strom Control Trap Name Description OID dStormCtrlOccurred This trap is sent when dStormCtrlNotifyEnable is 'stormOccurred' or 'both' and a storm is detected. Binding objects: (1) ifIndex, (2) dStormCtrlNotifyTrafficType 1.3.6.1.4.1.17 1.14.25.0.1 dStormCtrlStormCleared This trap is sent when dStormCtrlNotifyEnable is 'stormCleared' or 'both' and a storm is cleared.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Appendix C - RADIUS Attributes Assignment The RADIUS Attributes Assignment on the DGS-1510 is used in the following modules: Console, Telnet, SSH, Web, 802.1X, MAC-based Access Control, JWAC, and WAC. The description that follows explains the following RADIUS Attributes Assignment types: • • • • • Privilege Level Ingress/Egress Bandwidth 802.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide not configure the bandwidth attribute and authenticates successfully, the device will not assign any bandwidth to the port. If the bandwidth attribute is configured on the RADIUS server with a value of “0”, the effective bandwidth will be set “no_limited”, and if the bandwidth is configured less than “0” or greater than maximum supported value, the bandwidth will be ignored. To assign the 802.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide The table below shows the definition of Tag field (different with RFC 2868): Tag field value String field format 0x01 VLAN name (ASCII) 0x02 VLAN ID (ASCII) Others (0x00, 0x03 ~ 0x1F, >0x1F) When the switch receives the VLAN setting string, it will think it is the VLAN ID first. In other words, the switch will check all existing VLAN IDs and check if there is one matched.
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide Appendix D - IETF RADIUS Attributes Support Remote Authentication Dial-In User Service (RADIUS) attributes carry specific authentication, authorization, information and configuration details for the request and reply. This appendix lists the RADIUS attributes currently supported by the switch. RADIUS attributes are supported by the IETF standard and Vendor-Specific Attribute (VSA).
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 80 Message-Authenticator 81 Tunnel-Private-Group-ID 85 Acct-Interim-Interval 87 NAS-Port-ID 95 NAS-IPv6-Address RADIUS Accounting Attributes: Number IETF Attribute 1 User-Name 4 NAS-IP-Address 5 NAS-Port 6 Service-Type 8 Framed-IP-Address 31 Calling-Station-ID 32 NAS-Identifier 40 Acct-Status-Type 41 Acct-Delay-Time 42 Acct-Input-Octets 43 Acct-Output-Octets 44 Acct-Session-ID 45 Acct-Authentic 46 Acc