D-Link Dis-200G Series Cli Reference Manual
D-Link Dis-200G Series Cli Reference Manual

D-Link Dis-200G Series Cli Reference Manual

Industrial gigabit ethernet switch
Hide thumbs Also See for Dis-200G Series:

Advertisement

Quick Links

DIS-200G Series Industrial Gigabit Ethernet Smart Managed Switch

Advertisement

Table of Contents
loading

Summary of Contents for D-Link Dis-200G Series

  • Page 1 DIS-200G Series Industrial Gigabit Ethernet Smart Managed Switch...
  • Page 2 Information in this document is subject to change without notice. Reproduction of this document in any manner, without the written permission of the D-Link Corporation, is strictly forbidden. Trademarks used in this text: D-Link and the D-Link logo are trademarks of the D-Link Corporation; Microsoft and Windows are registered trademarks of the Microsoft Corporation.
  • Page 3: Table Of Contents

    DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide Table of Contents Introduction ................................1 Basic CLI Commands ............................... 9 Access Management Commands .......................... 15 Asymmetric VLAN Commands ..........................22 Basic IPv4 Commands ............................23 Basic IPv6 Commands ............................26 Cable Diagnostics Commands ..........................28 Digital Diagnostics Monitoring (DDM) Commands ....................
  • Page 4 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide 42. Traffic Segmentation Commands ........................229 43. Virtual LAN (VLAN) Commands ........................... 231 44. Voice VLAN Commands ............................241 45. Web Authentication Commands......................... 249 Appendix A - System Log Entries ..........................254 Appendix B - Trap Entries ............................
  • Page 5: Introduction

    The documents below are a further source of information in regards to configuring and troubleshooting the Switch. All the documents are available from the CD bundled with this switch, or from the D-Link website. Other documents related to the Switch are: ...
  • Page 6 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide NOTICE: A notice indicates either potential damage to hardware or loss of data and tells you how to avoid the problem. CAUTION: A caution indicates a potential for property damage, personal injury, or death.
  • Page 7 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide EXEC Mode.  Users with a basic user level will log into the Switch in the User EXEC Mode.  Users with administrator level accounts will log into the Switch in the Privileged EXEC Mode.
  • Page 8 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide Global Configuration Mode The primary purpose of the global configuration mode is to apply global settings on the entire switch. Global configuration mode can be accessed at administrator level user accounts. In addition to applying glabal settings on the entire switch, the user can also access other sub-configuration modes.
  • Page 9 The Open Slot’s ID is the ID of the module plugged into the open module slot of the Switch. The DIS-200G Series doesn’t support any open modules slots, thus this parameters will always by zero for this switch series. Lastly, the Port’s ID is the physical port number of the port being configured.
  • Page 10 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide Error Messages When the users issue a command that the Switch does not recognize, error messages will be generated to assist users with basic information about the mistake that was made. A list of possible error messages are found in the table below.
  • Page 11 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide Left Arrow Moves the cursor to the left. Right Arrow Moves the cursor to the right. Return Scrolls down to display the next line or used to issue a command. Space Scrolls down to display the next page.
  • Page 12 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide Switch# show running-config | include vlan vlan 1 interface vlan 1 Switch# The example below shows how to use the exclude FILTER-STRING parameter in a show command. Switch# show running-config | exclude vlan...
  • Page 13: Basic Cli Commands

    DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide Basic CLI Commands 2-1 help This command is used to display a brief description of the help system. Use the help command in any command modes help Parameters None. Default None. Command Mode EXEC Mode or Any Configuration Mode.
  • Page 14 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide the character '?' in a string argument, press ctrl+v immediately followed by the character '?'. Switch# The following example shows how to use the word help to display all the Privileged EXEC Mode commands that begin with the letters “re”.
  • Page 15 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide 2-3 logout This command is used to close an active terminal session by logging off the Switch. logout Parameters None. Default None. Command Mode User EXEC Mode. Privilege EXEC Mode. Command Default Level Level:1.
  • Page 16 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide Switch(config-if)#end Switch# 2-5 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.
  • Page 17 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide 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 32 commands.
  • Page 18 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide 2-8 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.
  • Page 19: Access Management Commands

    DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide Access Management Commands 3-1 ip http secure-server This command is used to enable the HTTPS server. Use the no form of this command to disable the HTTPS server function. ip http secure-server...
  • Page 20 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide 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.
  • Page 21 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide 3-4 show users This command is used to display information about the active lines on the Switch. show users Parameters None. Default None. Command Mode EXEC Mode or Any Configuration Mode. Command Default Level Level: 1.
  • Page 22 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide Default By default, this value is 24. Command Mode Use the EXEC Mode or Privilege EXEC Mode for the terminal length command. Command Default Level Level: 1 (for the terminal length command).
  • Page 23 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide command changes the terminal width value which applies only to the current session. When changing the value in a session, the value applies only to that session. When the no form of this command is used, the number of lines in the terminal display screen is reset to the default, which is 80 characters.
  • Page 24 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide syntax remains plain text 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.
  • Page 25 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide 3-8 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 [7 | 15]...
  • Page 26: Asymmetric Vlan Commands

    DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide Asymmetric VLAN Commands 4-1 asymmetric-vlan his command is used to enable the asymmetric VLAN function. Use the no form of this command todisable the asymmetric VLAN function. asymmetric-vlan no asymmetric-vlan Parameters None.
  • Page 27: Basic Ipv4 Commands

    DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide Basic IPv4 Commands 5-1 ip address This command is used to IPv4 address for an interface, or acquire an IP address on an interface from the DHCP. Use the no form of this command to remove the configuration of an IP address or disable DHCP on the interface.
  • Page 28 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide NETWORK-PREFIX Specifies the network address. NETWORK-MASK Specifies the network mask IP-ADDRESS Specifies to an IP address. Default none. Command Mode Global Configuration Mode. Command Default Level Level: 15 Usage Guideline Use this command to configure static route that destination is default gateway. The net-address and net-mask only allow to configure with 0.0.0.0.
  • Page 29 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide Interface Address Method Status ---------------- -------------------- -------- ------ VLAN 1 10.90.90.91/24 Manual Switch# 5-4 show ip route This command is used to display ip address of default gateway. show ip route Parameters None.
  • Page 30: Basic Ipv6 Commands

    DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide Basic IPv6 Commands 6-1 ipv6 address This command is used to manually configure an IPv6 addresses on the management VLAN . Use the no form of this command to disable IPv6 address for management VLAN.
  • Page 31 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide show ipv6 interface [INTERFACE-ID ] brief Parameters INTERFACE-ID Specifies the interface for display. Default None. Command Mode EXEC Mode or Any Configuration Mode. Command Default Level Level: 1. Usage Guideline Use this command to display IPv6 interface related configurations.
  • Page 32: Cable Diagnostics Commands

    DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide Cable Diagnostics Commands 7-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. The acceptable interface will be a physical port.
  • Page 33 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide None. Command Mode EXEC Mode. Command Default Level Level: 1. Usage Guideline This command is used to display the test results for the cable diagnostics. Example This example shows how to display the test results for the cable diagnostics.
  • Page 34 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide Usage Guideline This command is used to clear the test results for the cable diagnostics. Example This example shows how to clear the test results for the cable diagnostics. Switch# clear cable-diagnostics interface Ethernet 1/0/2...
  • Page 35: Digital Diagnostics Monitoring (Ddm) Commands

    DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide Digital Diagnostics Monitoring (DDM) Commands 8-1 show interfaces transceiver This command is used to display the current SFP module operating parameters. show interfaces [INTERFACE-ID [,|-] transceiver [detail] Parameters INTERFACE-ID [,|-] (Optional) Specifies multiple interfaces for transceiver monitoring status display.
  • Page 36 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide ++ : high alarm, + : high warning, - : low warning, -- : low alarm mA: milliamperes, mW: milliwatts A: The threshold is administratively configured. eth1/0/11 Transceiver Monitoring is enabled Transceiver Monitoring shutdown action:Alarm...
  • Page 37 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide Switch(config)# snmp-server enable traps transceiver-monitoring warning Switch(config)# 8-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.
  • Page 38 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide 8-4 transceiver-monitoring bias-current This command is used to configure the thresholds of the bias current for a specified port. Use the no form of the command to remove the configuration. transceiver-monitoring bias-current INTERFACE-ID {high | low} {alarm | warning} VALUE...
  • Page 39 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide 8-5 transceiver-monitoring enable This command is used to enable the optical transceiver monitoring function for an SFP port. Use the no form of the command to disable optical transceiver monitoring. transceiver-monitoring enable...
  • Page 40 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide Parameters INTERFACE ID Specifies the interface to modify. Specifies that when the operating parameter rises above the high highest threshold, it indicates an abnormal status. Specifies that when the operating parameter falls below the low threshold this value, it indicates an abnormal status.
  • Page 41 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide INTERFACE ID Specifies the interface to modify. Specifies that when the operating parameter rises above this high high threshold value, it indicates an abnormal status. Specifies that when the operating parameter falls below this low threshold value, it indicates an abnormal status.
  • Page 42 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide high Specifies the interface to modify. Specifies that when the operating parameter rises above this high threshold value, it indicates an abnormal status. Specifies that when the operating parameter falls below this low alarm threshold value, it indicates an abnormal status.
  • Page 43 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide 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. Specifies to configure the high and low warning threshold warning conditions.
  • Page 44: D-Link Discovery Protocol (Ddp) Clientcommands

    DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide D-Link Discovery Protocol (DDP) ClientCommands 9-1 ddp This command is used to enable DDP client function globally. Use the no form of this command to disable DDP client. no ddp Parameters None.
  • Page 45 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide Parameters Specifies the report interval to 30 seconds. Specifies the report interval to 60 seconds. Specifies the report interval to 90 seconds. Specifies the report interval to 120 seconds. Never Specifies to stop sending report message.
  • Page 46 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide This example shows how to display DDP global information. Switch# show ddp D-Link Discovery Protocol state: disabled Report timer: 60 seconds...
  • Page 47: Dos Prevention Commands

    DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide 10. DoS Prevention Commands 10-1 dos-prevention This command is used to enable and configure the DoS prevention mechanism. Use the no form of this command to reset DoS prevention to the default setting.
  • Page 48 DIS-200G Series Gigabit Ethernet 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.
  • Page 49 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide DoS Type State -------------------------- -------- Land Attack Enabled Blat Attack Enabled TCP Null Enabled TCP Xmas Enabled TCP SYN-FIN Enabled TCP SYN SrcPort Less 1024 Enabled Ping of Death Attack Enabled Switch# This example shows how to display the specified type configuration information of the DoS prevention.
  • Page 50: Ethernet Ring Protection Switching (Erps) Commands

    DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide 11. Ethernet Ring Protection Switching (ERPS) Commands 11-1 description This command is used to configure the description for Ethernet Ring Protection (ERP) instances. description DESCRIPTION Parameters None. Default None. Command Mode ERP Instance Configuration Mode.
  • Page 51 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide None. Command Mode Global Configuration Mode. Command Default Level Level: 15. Usage Guideline This command is used to create, modify or delete an ITU-T G.8032 ERP physical ring and enter the ERP configuration mode.
  • Page 52 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide 11-4 r-aps channel-vlan This command is used to specify the APS channel VLAN for an ERP instance. Use the no form of this command to delete the configuration. r-aps channel-vlan VLAN-ID no r-aps channel-vlan...
  • Page 53 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide VLAN-ID Specified the VLAN IDs protected by the ERP mechanism. The range is 1 to 4094. (Optional) Specifies a series of VLANs, or separate a range of VLANs from a previous range. No spaces are required before and after the comma.
  • Page 54 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide Level: 15. Usage Guideline This command is used to create or remove an ERP instance and enter ERP instance configuration mode. Example This example shows how to configure service protected VLAN as 100-200 for ERP instance 1.
  • Page 55 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide 11-8 profile This command is used to associate an ERP instance with a G.8032 profile. Use the no form of this command to remove the association. profile PROFILE-NAME no profile PROFILE-NAME Parameters PROFILE-NAME Specifies the profile name to be associated with the ERP instance.
  • Page 56 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide Command Mode ERP Configuration Mode. Command Default Level Level: 15. Usage Guideline This command is used to specify or remove the first ring port of a physical ring. Example This example shows how to configure the interface “eth1/0/1” as the first ring port of the G.8032 ring “ring1”.
  • Page 57 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide Switch(config-erp)# instance 1 Switch(config-erp-instance)# port1 none Switch(config-erp-instance)# 11-11 revertive This command is used to revert back to the working transport entity, for example, when the RPL was blocked. Use the no form of this command to continue using the RPL, if it has not failed and if the ‘switch link defect’...
  • Page 58 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide no rpl Parameters port0 Specified port0 as the RPL port. port1 Specified port1 as the RPL port. owner (Optional) Specifies the ring node as the RPL owner node. Default None. Command Mode ERP Instance Configuration Mode.
  • Page 59 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide Command Default Level Level: 1. Usage Guideline This command is used to display information of the ERP instances. Example This example shows how to display the detailed information of the ERP instances.
  • Page 60 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide Ring MEL value of ERP instance. R-APS Channel APS channel of ERP instance. Protected VLANs Service protected VLANs of ERP instance. Profile The profile associated with the ERP instance. Guard timer Time value for guard timer of the profile.
  • Page 61 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide Port-State Current ring ports state. (- / Forwarding / Blocked) status Specifies to display the status of the ERP instances. brief Specifies to display the brief information of the ERP instances. 11-14 activate This command is used to activate the specified ERP instance.
  • Page 62 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide no timer {guard | hold-off | wtr} Parameters guard MILLI-SECONDS (Optional) Specifies the guard timer in milliseconds. The value is range from 10 to 2000. hold-off SECONDS (Optional) Specifies the hold-off timer in seconds. The value is range from 0 to 10.
  • Page 63: File System Commands

    DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide 12. File System Commands 12-1 delete This command is used to delete a file. delete FILE-URL Parameters FILE-URL Specifies the name of the file in flash. Sytax: <flash:filename>. Default None. Command Mode Privileged EXEC Mode.
  • Page 64 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide Usage Guideline Use to display all files information in the Flash. Example This example shows how to display all files information in the Flash. Switch# dir Directory of flash: 308 Jan 01 1970 00:00:00 default-config 776 Mar 13 2017 13:28:51 startup-config 776 Mar 15 2017 11:31:09 office.cfg...
  • Page 65: Filter Database (Fdb) Commands

    DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide 13. Filter Database (FDB) Commands 13-1 clear mac-address-table This command is used to delete a specific dynamic MAC address, all dynamic MAC addresses on a particular interface, all dynamic MAC addresses on a particular VLAN, or all dynamic MAC addresses from the MAC address table.
  • Page 66 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide Default By default, this value is 300 seconds. Command Mode Global Configuration Mode. Command Default Level Level: 15. Usage Guideline Setting the aging time to 0 will disable the MAC address table aging out function.
  • Page 67 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide Switch# configure terminal Switch(config)# mac-address-table learning interface Ethernet 1/0/1 Switch(config)# 13-4 mac-address-table static This command is used to add a static address to the MAC address table. Use the no form of this command to remove a static MAC address entry from the table.
  • Page 68 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide Ethernet 1/0/1 Switch(config)# This example shows how to add the static address C2:F3:22:0A:22:33 to the MAC address table. It also specifies that when any packet received on VLAN 4 that has a destination MAC address of C2:F3:22:0A:22:33 will be forwarded to port-channel 2.
  • Page 69 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide Switch(config)# 13-6 show mac-address-table This command is used to display a specific MAC address entry or the MAC address entries for a specific interface or VLAN. show mac-address-table [dynamic | static] [address MAC-ADDR | interface [INTERFACE-ID |...
  • Page 70 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide This example shows how to display all the static MAC address table entries. Switch# show mac-address-table static VLAN MAC Address Type Ports ---- ----------------- ---------- ------------------------- 00-19-11-00-A0-00 Static 00-01-00-02-00-04 Static eth1/0/2 C2-F3-22-0A-12-F4 Static...
  • Page 71 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide This command is used to display the MAC address table’s aging time. Example This example shows how to display the MAC address table’s aging time. Switch# show mac-address-table aging-time Aging Time is 300 seconds...
  • Page 72 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide Switch# 13-9 show multicast filtering-mode This command is used to enable and configure the DoS prevention mechanism. Use the no form of this command to reset DoS prevention to the default setting.
  • Page 73: Garp Vlan Registration Protocol (Gvrp) Commands

    DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide 14. GARP VLAN Registration Protocol (GVRP) Commands 14-1 gvrp global This command is used to enable the GVRP function globally. Use the no form of this command to disable the GVRP function globally.
  • Page 74 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide Command Mode Interface Configuration Mode. Command Default Level Level: 15. Usage Guideline Administrators can enable the global GVRP state and individual port’s GVRP state to start GVRP on the port. Example This example shows how to enable the GVRP protocol global state.
  • Page 75 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide Level: 15. Usage Guideline The command is available for both physical ports and port-channel interface configuration. Administrators can use the gvrp advertise command to enable the specified VLANs’ GVRP advertise function on the specified interface.
  • Page 76 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide 14-5 gvrp forbidden This command is used to specify a port as being a forbidden member of the specified VLAN. Use the no form of this command to remove the port as a forbidden member of all VLANs.
  • Page 77 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide 14-6 gvrp timer This command is used to configure the GVRP timer value on a port. Use the no form of this command to revert the timer to the default setting. gvrp timer [join JOIN-TIMER-VALUE] [leave LEAVE-TIMER-VALUE] [leave-all LEAVE-ALL-TIMER-...
  • Page 78 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide 14-7 show gvrp configuration This command is used to display the GVRP settings. show gvrp configuration [interface [INTERFACE-ID [,|-]]] Parameters configuration Specifies to display the GVRP configuration. If the interface is not specified, the GVRP global configuration is displayed.
  • Page 79 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide Advertise VLAN : 1-3 Forbidden VLAN : 5-8 Switch#...
  • Page 80: Igmp Snooping Commands

    DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide 15. IGMP Snooping Commands 15-1 ip igmp snooping This command is used to enable the IGMP snooping function on the Switch. Use the no form of this command to disable the IGMP snooping function.
  • Page 81 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide 15-2 ip igmp snooping querier This command is used to enable the capability of the entity as an IGMP querier. Use the no form of this command to disable the querier function.
  • Page 82 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide Command Default Level Level: 15. Usage Guideline 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.
  • Page 83 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide Example This example shows how to statically add a group for IGMP snooping. Switch# configure terminal Switch(config)# vlan 1 Switch(config-vlan)# ip igmp snooping static-group 225.1.2.3 interface Ethernet 1/0/1 Switch(config-vlan)# 15-5 show ip igmp snooping This command is used to display IGMP snooping information on the Switch.
  • Page 84 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide Switch# 15-6 show ip igmp snooping groups This command is used to display IGMP snooping group information learned on the Switch. show ip igmp snooping groups [vlan VLAN-ID | IP-ADDRESS] Parameters vlan VLAN-ID (Optional) Specifies the VLAN interface to be displayed.
  • Page 85 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide This command is used to display IGMP snooping statistics group information on the Switch. show ip igmp snooping static-group [GROUP-ADDRESS | vlan VLAN-ID] Parameters GROUP-ADDRESS (Optional) Specifies the group IP address to be displayed.
  • Page 86: Interface Commands

    DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide 16. Interface Commands 16-1 clear counters This command is used to clear counters for a physical port interface. clear counters {all | interface INTERFACE-ID [,|-]} Parameters Specifies to clear counters for all interfaces.
  • Page 87 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide Interface Configuration Mode. Command Default Level Level: 15. Usage Guideline The specified description corresponds to the MIB object “ifAlias” defined in the RFC 2233. Notice that space is not alllowed in the description.
  • Page 88 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide physical port interface has the channel-group command configured for it. Use the no interface port- channel command to remove a port-channel. Example This example shows how to enter the interface configuration mode for the interface Ethernet1/0/1.
  • Page 89 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide This command enters the interface configuration mode for the specified range of interfaces. Commands configured in the interface range mode, applies to interfaces in the range. Example This example shows how to enter the interface configuration mode for the range of ports 1/0/1 to 1/0/10:...
  • Page 90 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide rxHCPkt64Octets rxHCPkt65to127Octets rxHCPkt128to255Octets rxHCPkt256to511Octets rxHCPkt512to1023Octets rxHCPkt1024to1518Octets rxHCPkt1519to9216Octets txHCPkt64Octets txHCPkt65to127Octets txHCPkt128to255Octets txHCPkt256to511Octets : 138 txHCPkt512to1023Octets txHCPkt1024to1518Octets txHCPkt1519to9126Octets rxCRCAlignErrors rxUndersizedPkts rxOversizedPkts rxFragmentPkts rxJabbers rxDropPkts txCollisions txDropPkts 16-6 show interfaces This command is used to display the interface information.
  • Page 91 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide Usage Guideline If no interface is specified, all existing physical ports will be displayed. Example This example shows how to display the interface information for interface VLAN 1. Switch# show interfaces vlan 1 VLAN1 LINK: 00-01-c1-13-14-08 Mtu:1500 <UP BROADCAST RUNNING MULTICAST>...
  • Page 92 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide None. Command Mode EXEC Mode or Any Configuration Mode. Command Default Level Level: 1. Usage Guideline This command displays the Switch’s port connection status. Example This example shows how to display the port status...
  • Page 93 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide Command Default Level Level: 15. 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.
  • Page 94: Ip Utility Commands

    DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide 17. IP Utility Commands 17-1 ping This command is used to diagnose basic network connectivity. ping {[ip] IP-ADDRESS } [count TIMES] [timeout SECONDS] Parameters (Optional) Specifies the destination IPv4 address. IP-ADDRESS Specifies the IPv4 address of the destination host.
  • Page 95: Jumbo Frame Commands

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

    DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide 19. Link Aggregation Control Protocol (LACP)Commands 19-1 channel-group This command is used to assign an interface to a channel group. Use the no form of this command to remove an interface from a channel-group.
  • Page 97 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide 19-2 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.
  • Page 98 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide Member Ports: 2, Maxports = 8, Protocol: LACP LACP Port Port Port Flags State Priority Number ------------------------------------------------- eth1/0/10 bndl 32768 eth1/0/11 bndl 32768 Channel Group 2 Member Ports: 2, Maxports = 8, Protocol: Static...
  • Page 99 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide Switch# This example shows how to display the summary information for all port-channels. Switch# show channel-group load-balance algorithm: src-mac system-ID: 32765,00-02-4b-29-3a-00 Group Protocol ------------------------ LACP Static Switch#...
  • Page 100: Link Layer Discovery Protocol (Lldp)Commands

    DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide 20. Link Layer Discovery Protocol (LLDP)Commands 20-1 lldp run This command is used to enable the Link Layer Discovery Protocol (LLDP) globally. Use the no form of this command to revert to the default setting.
  • Page 101 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide Default The LLDP states is disabled. Command Mode Global Configuration Mode. Command Default Level Level: 15. Usage Guideline Use the snmp-server enable traps lldp command to enable the sending of LLDP notifications.
  • Page 102 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide 20-4 show lldp neighbor interface This command is used to display each physical interface’s information currently learned from the neighbor. show lldp neighbors interface INTERFACE-ID [, | -] brief Parameters INTERFACE-ID Specifies the interface ID.
  • Page 103 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide Port Description : RMON Port 1 on Unit 4 Port ID : eth1/0/2 --------------------------------------------------------------------- Remote Entities Count : 3 Entity 1 Chassis ID Subtype : MAC Address Chassis ID : 00-01-02-03-04-03 Port ID Subtype : Local...
  • Page 104: Loopback Detection (Lbd) Commands

    DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide 21. Loopback Detection (LBD) Commands 21-1 loopback-detection (Global) This command is used to enable the loopback detection function globally. Use the no form of this command to disable the function globally. loopback-detection...
  • Page 105 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide Parameters None. Default By default, this option is disabled. Command Mode Interface Configuration Mode. Command Default Level Level: 15. Usage Guideline Use this command to enable the loopback detection function on an interface. This command is available for port and port-channel interface configuration.
  • Page 106 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide This example shows how to configure the time interval to 20 seconds. Switch# configure terminal Switch(config)# loopback-detection interval 20 Switch(config)# 21-4 loopback-detection recover-time This command is used to configure the recover timer interval. Use the no form of this command to revert to the default setting.
  • Page 107 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide (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.
  • Page 108 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide This example shows how to displays the loopback detection status for port-channel 2. Switch# show loopback-detection interface port-channel2 Interface State Result Time Left (sec) -------------- -------- ----------------- --------------- Port-channel2 Disabled Normal Switch#...
  • Page 109: Mirror Commands

    DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide Switch(config)# snmp-server enable traps loopback-detection. Switch(config)# 22. Mirror Commands 22-1 monitor session destination interface This command is used to configure the destination interface for a port monitor session, allowing packets on source ports to be monitored via a destination port. Use the no form of this command to delete a port monitor session or remove the destination interface of the session.
  • Page 110 DIS-200G Series Gigabit Ethernet 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.
  • Page 111 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide show monitor session [SESSION-NUMBER] Parameters session SESSION-NUMBER (Optional) Specifies the session number which you want to display. The valid range is 1. Default None. Command Mode EXEC Mode or Any Configuration Mode.
  • Page 112: Mld Snooping Commands

    DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide 23. MLD Snooping Commands 23-1 ipv6 mld snooping This command is used to enable or disable MLD snooping. ipv6 mld snooping no ipv6 mld snooping Parameters None. Default MLD snooping is disabled on all VLAN interfaces. The MLD snooping global state is disabled by default.
  • Page 113 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide 23-2 ipv6 mld snooping querier This command is used to enable the MLD snooping querier on the Switch. Use the no form of this command to disable the MLD snooping querier function.
  • Page 114 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide Usage Guideline 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.
  • Page 115 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide 23-5 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.
  • Page 116 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide vlan VLAN-ID (Optional) Specifies the VLAN interface. If no interface is specified, MLD group information about all interfaces will be displayed. Default None. Command Mode EXEC Mode or Any Configuration Mode. Command Default Level Level: 1.
  • Page 117 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide EXEC Mode or Any Configuration Mode. Command Default Level Level: 1. Usage Guideline This command displays the MLD snooping static group information. Example This example shows how to display MLD snooping static group information .
  • Page 118: Multiple Spanning Tree Protocol (Mstp) Commands

    DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide 24. Multiple Spanning Tree Protocol (MSTP) Commands 24-1 instance This command is used to map a VLAN or a set of VLANs to an MST instance. Use the no instance without VLANs specified to remove instances. Use the no instance with VLAN specified to return the VLANs to the default instance (CIST).
  • Page 119 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide 24-2 name This command is used to configure the name of an MST region. Use the no form of this command to revert to the default setting. name NAME no name NAME...
  • Page 120 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide By default, this value is 0. Command Mode MST Configuration Mode. Command Default Level Level: 15. Usage Guideline Two Ethernet switches that have the same configuration but different revision numbers are considered to be part of two different regions.
  • Page 121 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide This example shows how to display MSTP summary information. Switch# show spanning-tree mst Spanning tree: Disabled, protocol: RSTP BPDU Forward : Disabled Number of MST instances: 1 >>>>MST00 vlans mapped : 1-4094...
  • Page 122 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide None. Command Mode Global Configuration Mode. Command Default Level Level: 15. Usage Guideline This command is used to enter the MST Configuration Mode. Example This example shows how to enter the MST Configuration Mode.
  • Page 123: Power Over Ethernet (Poe) Commands

    DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide 25. Power over Ethernet (PoE) Commands 25-1 poe pd priority This command is used to configure the priority for provisioning power to the port. Use the no form of this command to revert to the default setting.
  • Page 124 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide no poe power-inline [auto time-range] Parameters auto Specifies to enable the auto-detection of PDs and provision power to the PD. time-range PROFILE-NAME (Optional) Specifies the name of the time-range profile to delineate the activation period.
  • Page 125 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide poe usage-threshold This command is used to configure the utilization threshold to record a log. Use the no form of this command to restore to the default setting. poe usage-threshold PERCENTAGE no poe usage-threshold...
  • Page 126 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide Command Default Level Level: 15. Usage Guideline Use this command to enable sending PoE usage threshold exceeding traps. Example This example shows how to enable trap for PoE event. Switch#configure terminal Switch(config)#snmp-server enable traps poe...
  • Page 127 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide Switch# show poe power-inline status Interface State Class Max(W) Used(W) ------------------------------------------------ eth1/0/1 Searching Class-0 0.0 eth1/0/2 Searching Class-0 0.0 eth1/0/3 Disabled Class-0 0.0 eth1/0/4 Searching Class-0 0.0 eth1/0/5 Searching Class-0 0.0 eth1/0/6 Searching Class-0 0.0...
  • Page 128 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide Switch# show poe power-inline configuration Interface Admin Priority Time-Range ----------------------------------------------------- eth1/0/1 auto eth1/0/2 auto eth1/0/3 auto day-time eth1/0/4 auto eth1/0/5 auto eth1/0/6 auto eth1/0/7 auto eth1/0/8 auto Switch# Display Parameters Interface The PoE interface ID.
  • Page 129 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide Example This example shows how to display the PoE power system’s power information. Switch# show poe power module Unit Delivered(W) Power Budget(W) Usage-Threshold(%) Trap State ------------------------------------------------------------------- 40.0 Disabled Switch# Display Parameters Unit The unit ID of stacking device.
  • Page 130 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide reply the ping request. reset - Specifies to disable and then enable the PoE port state. notify - Specifies to send logs and traps to notify the administrator. both - Specifies to send log and trap first, and then reset the PoE port state.
  • Page 131 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide Example This example shows how to enable the PoE PD alive check function on interface eth1/0/1-2. Switch# configure terminal Switch(config)# interface range Ethernet 1/0/1-2 Switch(config-if-range)#poe pd alive Switch(config-if-range)# This example shows how to configure the IP address of the target PD.
  • Page 132 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide show poe pd alive [interface INTERFACE-ID [, | -]] 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 spaces before and after the comma.
  • Page 133: Power Saving Commands

    DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide 26. Power Saving Commands 26-1 dim led This command is used to disable the port LED function. Use the no form of this command to restore the LED function. dim led no dim led Parameters None.
  • Page 134 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide port-shutdown Specifies that power saving will be applied by scheduled port shutdown. hibernation Specifies that power saving will be applied by scheduled system hibernation. This parameter can only be used when the stacking is disabled.
  • Page 135 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide Command Default Level Level: 15. Usage Guideline Use this command to enable or disable the specified port’s EEE power saving function. The Energy-Efficient Ethernet (EEE) power-saving mode saves power consumption while a link is up when there s low utilization of packet traffic.
  • Page 136 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide Switch(config)# 26-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 this command to delete the specified time range profile.
  • Page 137 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide PROFILE-NAME Specifies the name of the time range profile to be configured. The maximum length is 32 characters. Default None. Command Mode Interface Configuration Mode. Command Default Level Level: 15. Usage Guideline Use this command to add or delete a time range profile for the port shutdown schedule.
  • Page 138 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide Command Default Level Level: 1. Usage Guideline If no optional keywords were specified, all power saving configuration information will be displayed. Example This example shows how to display all power saving configuration information.
  • Page 139: Port Security Commands

    DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide 27. Port Security Commands 27-1 clear port-security This command is used to delete the auto-learned secured MAC addresses. clear port-security {all | {address MAC-ADDR | interface INTERFACE-ID [, | -]} [vlan VLAN-ID]} Parameters Specifies to delete all auto-learned secured entries.
  • Page 140 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide 27-2 show port-security This command is used to display the current port security settings. show port-security [[interface INTERFACE-ID [, | -]] [address] Parameters INTEFACE-ID Specifies the ID of the interface to be displayed.
  • Page 141 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide 27-3 snmp-server enable traps port-security This command is used to enable sending SNMP notifications for port security address violation. Use the no form of the command to disable sending SNMP notifications. snmp-server enable traps port-security [trap-rate TRAP-RATE]...
  • Page 142 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide The valid range is from 0 to 1440 in minutes. maximum VALUE (Optional) Specifies to set the maximum number of secure MAC addresses allowed. If not specified, the default value is 32. The valid range is from 1 to 64.
  • Page 143 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide Switch(config)# interface Ethernet 1/0/1 Switch(config-if)# switchport port-security violation restrict Switch(config-if)# This example shows how to apply the aging time for automatically learned secure MAC addresses for interface eth1/0/1. Switch# configure terminal Switch(config)# interface Ethernet 1/0/1...
  • Page 144: Quality Of Service (Qos) Commands

    DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide 28. Quality of Service (QoS) Commands 28-1 mls qos cos This command is used to configure the default Class of Service (CoS) value of a port. Use the no form of this command to revert to the default settings.
  • Page 145 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide separated by commas (,) or hyphens (-) with no spaces or hyphens before and after. DSCP-LIST Specifies the range of DSCP values. Default CoS Value: DSCP Value: 0-7 8-15 16-23 24-31 32-39...
  • Page 146 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide Specify schedule algorithms to WRR, SP for the output queue. By default, the output queue scheduling algorithm is WRR. Example This example shows how to configure the queue scheduling algorithm to the strict priority mode.
  • Page 147 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide Example This example shows how to configure port eth1/0/1 to trust the DSCP mode. Switch# configure terminal Switch(config)# interface Ethernet 1/0/1 Switch(config-if)# mls qos trust dscp Switch(config-if)# 28-5 rate-limit This command is used to set the received bandwidth limit values for an interface. Use the no form of this command to disable the bandwidth limit.
  • Page 148 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide 28-6 show mls qos interface This command is used to display port level QoS configurations. show mls qos interface INTERFACE-ID [, | -] {cos | scheduler| trust | rate-limit } Parameters interface INTERFACE-ID Specifies the interface ID to display.
  • Page 149 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide This example shows how to display the port trust state for eth 1/0/2 to eth 1/0/5. Switch# show mls qos interface eth1/0/2-1/0/5 trust Interface Trust State -------------- ----------------- eth1/0/2 trust DSCP eth1/0/3...
  • Page 150 DIS-200G Series Gigabit Ethernet 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 DSCP to CoS map infomration on the switch Example This example shows how to display the DSCP to CoS map information.
  • Page 151 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide Use this command to display the QoS queueing infomration on the switch Example This example shows how to display the QoS queuing information. Switch# show mls qos queuing CoS-queue map: Switch#...
  • Page 152: Radius Server Commands

    DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide 29. RADIUS Server Commands 29-1 radius-server deadtime This command is used to specify the default duration of the time to skip the unresponsive server. Use the no form of this command to revert to the default setting.
  • Page 153 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide 29-2 radius-server host This command is used to create a RADIUS server host. Use the no form of this command to delete a server host. radius-server host {IP-ADDRESS | IPV6-ADDRESS} [auth-port PORT] [acct-port PORT] [timeout...
  • Page 154 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide Switch(config)# 29-3 show radius statistics This command is used to display RADIUS statistics for accounting and authentication packets. show radius statistics Parameters None. Default None. Command Mode EXEC Mode or Any Configuration Mode.
  • Page 155 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide Display Parameters Auth Statistics for authentication packets. Acct Statistics for accounting packets. Round Trip Time The time interval (in hundredths of a second) between the most recent Response and the Request that matched it from this RADIUS server.
  • Page 156: Remote Network Monitoring (Rmon) Commands

    DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide 30. Remote Network MONitoring (RMON) Commands 30-1 rmon collection stats This command is used to enable RMON statistics on the configured interface. Use the no form of this command to disable the RMON statistics.
  • Page 157 DIS-200G Series Gigabit Ethernet 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.
  • Page 158 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide Specifies that the delta of two consecutive sampled values is delta monitored. absolute Specifies that the absolute sampled value is monitored. Specifies the rising threshold. The valid range is from 0 to rising-threshold VALUE 2147483647.
  • Page 159 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide Specifies the index of the alarm entry. The valid range is from 1 to INDEX 65535. (Optional) Specifies to generate log message for the notification. (Optional) Specifies to generate SNMP trap messages for the trap COMMUNITY notification.
  • Page 160 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide Command Default Level Level: 1. Usage Guideline This command displays the RMON alarm table. Example This example shows how to displays the RMON alarm table. 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)
  • Page 161 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide Event 2, owned by manager2 Description is Errors Event trigger action: log & trap Last triggered time: Switch# 30-7 show rmon history This command is used to display RMON history statistics information.
  • Page 162 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide Fragments: 2, Jabbers: 1 CRC alignment errors: 0, Collisions: 0 Drop events : 0 Switch# 30-8 show rmon statistics This command is used to display RMON Ethernet statistics. show rmon statistics Parameters None.
  • Page 163 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide 30-9 snmp-server enable traps rmon This command is used to enable the RMON trap state. snmp-server enable traps rmon [rising-alarm | falling-alarm] no snmp-server enable traps rmon [rising-alarm | falling-alarm] Parameters rising-alarm (Optional) Specifies to configure the rising alarm trap state.
  • Page 164: Safeguard Engine Commands

    DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide 31. Safeguard Engine Commands 31-1 cpu-protect safeguard This command is used to enable the Safeguard Engine. Use the no form of this command to disable the Safeguard Engine. cpu-protect safeguard no cpu-protect safeguard Parameters None.
  • Page 165 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide Command Default Level Level: 1. Usage Guideline This command is used to display the status of the Safeguard Engine. Example This example shows how to display the current status of the Safeguard Engine.
  • Page 166: Simple Network Management Protocol(Snmp) Commands

    DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide 32. Simple Network Management Protocol(SNMP) Commands 32-1 show snmp-server This command is used to display the SNMP server’s global state settings and trap related settings. show snmp-server [traps] Parameters traps (Optional) Specifies to display trap related settings.
  • Page 167 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide warmstart : Disabled Switch# 32-2 snmp-server This command is used to enable the SNMP agent. Use the no form of this command to disable the SNMP agent. snmp-server no snmp-server Parameters None.
  • Page 168 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide maximum length is 255 characters The syntax is a general string that allows spaces. Default None. Command Mode Global Configuration Mode. Command Default Level Level: 15. Usage Guideline This command configures the system contact information for management of the device.
  • Page 169 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide Switch(config)# 32-5 snmp-server enable traps snmp This command is used to enable the sending of all or specific SNMP notifications. Use the no form of this command to disable sending of all or specific SNMP notifications.
  • Page 170 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide Switch(config)# snmp-server host 10.9.18.100 version 2c public Switch(config)# This example shows how to enable the SNMP authentication traps. Switch# configure terminal Switch(config)# snmp-server enable traps snmp authentication Switch(config)# 32-6 snmp-server location This command is used to configure the system’s location information. Use the no form of this command to remove the setting.
  • Page 171 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide 32-7 snmp-server name This command is used to configure the system’s name information. Use the no form of this command to remove the setting. snmp-server name NAME no snmp-server name Parameters NAME Specifies the string that describes the SNMP server name information.
  • Page 172 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide 32-8 show snmp This command is used to display the SNMP settings. show snmp {community | host | view | group | engineID } Parameters community Specifies to display SNMP community information.
  • Page 173 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide This example shows how to display the SNMP server host setting. Switch# show snmp host Host IP Address : 10.20.30.40 SNMP Version Community Name : public UDP Port Host IP Address : 10.10.10.1...
  • Page 174 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide This example shows how to display the SNMP group setting. Switch# show snmp group GroupName: initial SecurityModel: v3/noauth ReadView : restricted WriteView NotifyView : restricted GroupName: ReadGroup SecurityModel: v1 ReadView : CommunityView...
  • Page 175 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide This example shows how to display the SNMP engine ID. Switch# show snmp engineID Local SNMP engineID : 800000ab03000102183401 Switch# 32-9 show snmp user This command is used to display information about the configured SNMP user.
  • Page 176 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide snmp-server community 32-10 This command is used to configure the community string to access the SNMP. Use the no form of this command to remove the community string, snmp-server community COMMUNITY-STRING [ro | rw] [view VIEW-NAME]...
  • Page 177 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide snmp-server engineID local 32-11 This command is used to specify the SNMP engine ID on the local device. Use the no command to revert the SNMP engine ID to the default. snmp-server engineID local ENGINEID-STRING...
  • Page 178 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide Specifies that the group user can use the SNMPv2c security model. Specifies that the group user can use the SNMPv3 security model. auth Specifies to authenticate the packet but not encrypt it.
  • Page 179 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide Switch# configure terminal Switch(config)# snmp-server view interfacesMibView 1.3.6.1.2.1.2 included Switch(config)# snmp-server group guestgroup v3 auth read interfacesMibView Switch(config)# snmp-server group guestgroup v2c read CommunityView write CommunityView Switch(config)# 32-13 snmp-server host This command is used to specify the recipient of the SNMP notification. Use the no form of this command to remove the recipient.
  • Page 180 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide will be sent in the trap protocol data unit (PDU). For SNMPv3, the notification will be sent in the SNMPv2- TRAP-PDU with the SNMPv3 header. When specifying to send the trap packets in SNMPv1 or SNMPv2c to a specific host, the specified community string acts as the community string in the trap packets.
  • Page 181 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide Parameters USER-NAME Specifies a username of a maximum of 32 characters. The syntax is general string that does not allow spaces. GROUP-NAME Specifies the name of the group to which the user belongs. The syntax is general string that does not allow spaces.
  • Page 182 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide Switch# configure terminal Switch(config)# snmp-server user user1 public v3 entrypted auth md5 112233445566778899AABBCCDDEE Switch(config)# 32-15 snmp-server view This command is used to create or modify a view entry. Use the no form of this command to remove a specified SNMP view entry.
  • Page 183 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide 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.
  • Page 184: Spanning Tree Protocol (Stp) Commands

    DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide 33. Spanning Tree Protocol (STP) Commands 33-1 show spanning-tree This command is used to display the information of spanning tree protocol operation. This command is only for STP and RSTP. show spanning-tree [interface [INTERFACE-ID [, | -]]...
  • Page 185 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide 33-2 show spanning-tree configuration interface This command is used to display the information about STP interface related configuration. show spanning-tree configuration interface [INTERFACE-ID [, | -]] Parameters interface INTERFACE-ID Specifies the interface ID to display.
  • Page 186 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide new-root (Optional) Specifies the sending of STP new root notification. topology-chg (Optional) Specifies the sending of STP topology change notification. Default By default, these options are disabled. Command Mode Global Configuration Mode.
  • Page 187 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide Usage Guideline Use this command in the global configuration mode to enable the global spanning-tree function. Example This example shows how to enable the spanning-tree function. Switch# configure terminal Switch(config)# spanning-tree global state enable...
  • Page 188 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide 33-6 spanning-tree portfast This command is used to specify the port’s fast mode. Use the no form of this command to revert to the default setting. spanning-tree portfast {disable | edge| network}...
  • Page 189 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide spanning-tree priority PRIORITY no spanning-tree priority Parameters PRIORITY Specifies that the bridge priority and bridge MAC address together forms the Spanning-Tree Bridge-ID, which is an important factor in the Spanning-Tree topology. The range is from 0 to 61440.
  • Page 190 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide Level: 15. Usage Guideline If enabled, the received STP BPDU will be forwarded to all VLAN member ports in the untagged form. The command does not take effect if the Layer 2 protocol tunnel is enabled for STP.
  • Page 191: Storm Control Commands

    DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide 34. Storm Control Commands 34-1 storm-control This command is used to configure the device to protect the device from broadcast, multicast, and DA unknown packet storm attacks. Use the no form of this command to restore the function to its default settings.
  • Page 192 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide Parameters None. Default None. Command Mode EXEC Mode or Any Configuration Mode. Command Default Level Level: 1. Usage Guideline None. Example This example shows how to display the current storm control settings.
  • Page 193 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide 34-3 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.
  • Page 194: Surveillance Vlan Commands

    DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide 35. Surveillance VLAN Commands 35-1 surveillance vlan This command is used to enable the global surveillance VLAN state and configure the surveillance VLAN. Use the no form of this command to disable the surveillance VLAN state.
  • Page 195 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide Example This example shows how to enable the surveillance VLAN function and configure VLAN 1001 as a Surveillance VLAN. Switch# config terminal Switch(config)# surveillance vlan 1001 Switch(config)# 35-2 surveillance vlan aging This command is used to configure the aging time for aging out the surveillance VLAN dynamic member ports.
  • Page 196 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide This command is used to enable the surveillance VLAN state of ports. Use the no form of this command to disable the surveillance VLAN state of ports. surveillance vlan enable no surveillance vlan enable Parameters None.
  • Page 197 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide MAC-ADDRESS Specifies the OUI MAC address. MASK Specifies the OUI MAC address matching bitmask. component-type (Optional) Specifies surveillance components that could be auto- detected by surveillance VLAN. (Optional) Specifies the surveillance components type as Video Management Server (VMS).
  • Page 198 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide 35-5 surveillance vlan onvif-discover-port This command is used to configure the TCP/UDP port number for RTSP stream snooping. Use the no form of this command to revert to the default setting. surveillance vlan onvif-discover-port VALUE...
  • Page 199 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide MAC-ADDRESS (Optional) Enter the MAC address of the IPC that is recognized with ONVIF. enable Specifies that the ONVIF recognition IPC state will be enabled. disable Specifies that the ONVIF recognition IPC state will be disabled.
  • Page 200 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide Command Mode Global Configuration Mode. Command Default Level Level: 15. Usage Guideline This command is used to configure the description of the ONVIF recognized IPC with only the IP address of the IPC, or both the IP and MAC address of the IPC.
  • Page 201 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide This example shows how to define the description of the NVR with an IP address of 172.18.60.2 to 'nvr1'. Switch# config terminal Switch(config)# surveillance vlan onvif-nvr 172.18.60.2 description nvr1 Switch(config)# 35-9 surveillance vlan qos This command is used to configure the CoS priority for the incoming surveillance VLAN traffic.
  • Page 202 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide Parameters device Specifies to display the learned surveillance devices information. interface (Optional) Specifies to display surveillance VLAN information of ports. INTERFACE-ID (Optional) Specifies the port to be displayed. (Optional) Specifies a series of interfaces, or separate a range of interfaces from a previous range.
  • Page 203 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide B0-C5-54-00-00-00 FF-FF-FF-80-00-00 D-Link Device IP Surveillance Device F0-7D-68-00-00-00 FF-FF-FF-F0-00-00 D-Link Device IP Surveillance Device Total OUI : 4 Switch# 35-11 show surveillance vlan onvif-ipc interface This command is used to display ONVIF-based IPC information.
  • Page 204 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide Description : P3384-VE Total Entries: 1 Switch# This example shows how to display detailed ONVIF-based IP camera information. Switch# show surveillance vlan onvif-ipc interface Ethernet 1/0/1 detail Interface : eth1/0/1 IP Address : 10.90.90.1...
  • Page 205 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide EXEC Mode or Any Configuration Mode. Command Default Level Level: 1. Usage Guideline This command is used to display ONVIF-based NVR and group information. The group ID is the group ID of the IPCs that belong to the NVR group.
  • Page 206: Switch Port Commands

    DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide 36. Switch Port Commands 36-1 duplex This command is used to configure the physical port interface’s duplex setting. Use the no form of command to revert to the default setting. duplex {full | half | auto}...
  • Page 207 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide no flowcontrol Parameters Specifies to enable a port to send PAUSE frames or process PAUSE frames from remote ports. Specifies to disable the ability for a port to send or receive PAUSE frames.
  • Page 208 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide 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: 15.
  • Page 209 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide Command Mode Interface Configuration Mode. Command Default Level Level: 15. Usage Guideline Use this command is to configure the physical port interface’s speed settings. Example This example shows how to configure eth1/0/3 to 1000 Mbps.
  • Page 210: System File Management Commands

    DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide 37. System File Management Commands 37-1 boot image This command is used to specify image that will be used as the image file for the next boot. boot image {image1 | image2}...
  • Page 211 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide is to upload the running configuration or save the running configuration as 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.
  • Page 212 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide Building configuration... % Saving 1072 bytes to TFTP server 10.10.1.141: /office.cfg Switch# This example shows how to save the system’s running configuration into the FLASH memory and uses it as the next boot configuration.
  • Page 213 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide 37-4 reset system This command is used to reset the system, clear the system’s configuration. reset system Parameters None. Default None. Command Mode Privilege EXEC Mode. Command Default Level Level: 15. Usage Guideline Use this command to clear the system’s configuration.
  • Page 214 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide Level: 1. Usage Guideline This command is used to display the boot image setting. Example This example shows how to display system boot information. Switch# show boot Unit 1 Boot image: flash:/R1.10.B014.dat Image info (* : Next bootup image) : * R1.10.B014.dat (Image1)
  • Page 215 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide multicast filtering-mode filter-unregistered clock timezone + 0 0 ip http secure-server ip http timeout-policy idle 60 snmp-server enable traps storm-control multicast level pps 8 cpu-protect safeguard threshold 60 40 interface Ethernet 1/0/1...
  • Page 216 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide interface Ethernet 1/0/12 switchport mode access interface vlan 1 ip address 10.10.1.19 255.255.248.0 Switch#...
  • Page 217 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide 37-7 show startup-config This command is used to display the content of the startup configuration file. show startup-config Parameters None. Default None. Command Mode Privileged EXEC Mode. Command Default Level Level: 15.
  • Page 218: System Log Commands

    DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide 38. System Log Commands 38-1 clear logging This command is used to delete log messages. clear logging Parameters None. Default None. Command Mode Privilege EXEC Mode. Command Default Level Level: 15. Usage Guideline This command deletes all the log messages in the system.
  • Page 219 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide The content of the logging messages will be saved to the FLASH immediately such that the message can be restored on reboot. The content of the logged messages in the FLASH will be reloaded into the logging buffer on reboot.
  • Page 220 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide The following is a table for the facility. Numerical code Facility Local use 0 (local0). Local use 1 (local1). Local use 2 (local2). Local use 3 (local3). Local use 4 (local4). Local use 5 (local5).
  • Page 221 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide Example This example shows how to configure VLAN 100 as the source interface for SYSLOG packets. Switch# config t Switch(config)# logging source-interface vlan 100 ERROR : Syslog source interface only support on management vlan interface...
  • Page 222: Secure Shell(Ssh) Commands

    DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide 39. Secure Shell(SSH) Commands 39-1 ip ssh server This command is used to enable the SSH server function. Use the no form of this command to disable the SSH server function. ip ssh server...
  • Page 223: Time And Sntp Commands

    DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide Level: 1. Usage Guideline Use this command to display the SSH configuration settings. Example This example shows how to display the SSH configuration settings. Switch# show ip ssh IP SSH server : Enabled...
  • Page 224 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide replaced by the new synced clock. Example This example shows how to manually set the software clock to 3:45 p.m. on Mar 16, 2017. Switch# clock set 15:45:00 16 mar 2017 Switch# 40-2 clock summer-time This command is used to configure the system to automatically switch to summer time (daylight saving time).
  • Page 225 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide 40-3 clock timezone This command is used to set the time zone for display purposes. Use the no form of this command to revert to the default setting. clock timezone {+ | -} HOURS-OFFSET [MINUTES-OFFSET]...
  • Page 226 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide EXEC Mode or Any Configuration Mode. Command Default Level Level: 1. Usage Guideline This command also indicates the clock’s source. The clock source can be “No Time Source” or“SNTP”. Example This example shows how to display the current time.
  • Page 227 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide SNTP Poll Interval : 720 sec SNTP Server Status: SNTP Server Stratum Version Last Receive ---------------------------------------------- ------- ------- --------------- 10.10.1.112 ---------------------------------------------- ------- ------- --------------- Total Entries : 1 Switch# 40-6 sntp server This command is used to allow the system clock to be synchronized with an SNTP time server.
  • Page 228 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide 40-7 sntp enable This command is used to enable the SNTP function. Use the no form of this command to disable the SNTP function. sntp enable no sntp enable Parameters None. Default By default, this option is disabled.
  • Page 229: Time Range Commands

    DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide Usage Guideline This command is used to set the polling interval. Example This example shows how to configure the interval to 100 seconds. Switch# configure terminal Switch(config)# sntp interval 100 Switch(config)# 41. Time Range Commands 41-1 periodic This command is used to specify the period of time for a time range profile.
  • Page 230 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide Switch(config-time-range)# no periodic daily 9:00 to 12:00 Switch(config-time-range)#...
  • Page 231 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide 41-2 show time-range This command is used to display the time range profile configuration. show time-range [NAME] Parameters NAME (Optional) Specifies the name of the time-range profile to be displayed. Default None.
  • Page 232 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide 41-3 time-range This command is used to enter the time range configuration mode to define a time range. Use the no command to delete a time range. time-range NAME no time-range NAME...
  • Page 233: Traffic Segmentation Commands

    DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide 42. Traffic Segmentation Commands 42-1 show traffic-segmentation forward This command is used to display the traffic segmentation for some ports or all ports. show traffic-segmentation forward [interface INTERFACE-ID [, | -]] Parameters interface INTERFACE-ID (Optional) Specifies ID of an interface.
  • Page 234 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide 42-2 traffic-segmentation forward This command is used to restrict the Layer 2 packet forwarding domain of packets received by the configured port. Use the no form of this command to remove the specification of forwarding domain.
  • Page 235: Virtual Lan (Vlan) Commands

    DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide 43. Virtual LAN (VLAN) Commands 43-1 acceptable-frame This command is used to set the acceptable types of frames by a port. Use the no form of this command to revert to the default settings.
  • Page 236 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide 43-2 ingress-checking This command is used to enable ingress checking for frames received by a port. Use the no command to disable the ingress check. ingress-checking no ingress-checking Parameters None. Default By default, this option is enabled.
  • Page 237 DIS-200G Series Gigabit Ethernet 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 parameters for all configured VLANs or one VLAN on the Switch.
  • Page 238 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide VLAN mode : Access Access VLAN Ingress checking : Disabled Acceptable frame type : Admit-All Switch# 43-4 switchport access vlan This command is used to specify the access VLAN for an interface. Use the no form of this command to revert to the default setting.
  • Page 239 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide switchport hybrid allowed vlan {[add] {tagged | untagged} | remove} VLAN-ID [, | -] no switchport hybrid allowed vlan Parameters Specifies the port will be added into the specified VLAN(s). remove Specifies the port will be removed from the specified VLAN(s).
  • Page 240 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide 43-6 switchport hybrid native vlan This command is used to specify the native VLAN ID of a hybrid port. Use the no form of this command to reset the native VLAN to the default setting.
  • Page 241 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide hybrid Specifies the port as a hybrid port. trunk Specifies the port as a trunk port. Default By default, this option is hybrid. Command Mode Interface Configuration Mode. Command Default Level Level: 15.
  • Page 242 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide (Optional) Specifies a series of VLANs, or separate a range of VLANs from a previous range. No space is required before and after the comma. (Optional) Specifies a range of VLANs. No space is required before and after the hyphen.
  • Page 243 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide Level: 15. Usage Guideline The command only takes effect when the interface is set to trunk mode. When a trunk port native VLAN is set to tagged mode, normally the acceptable frame type of the port should be set to “tagged- only” to only accept tagged frames.
  • Page 244 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide of a new VLAN, the VLAN will be automatically created. Use the no vlan command to remove a VLAN. The default VLAN cannot be removed. If the removed VLAN is a port’s access VLAN, the port’s access VLAN will be reset to VLAN 1.
  • Page 245: Voice Vlan Commands

    DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide 44. Voice VLAN Commands 44-1 voice vlan This command is used to enable the global voice VLAN state and configure the voice VLAN. Use the no form of this command to disable the voice VLAN state.
  • Page 246 DIS-200G Series Gigabit Ethernet 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.
  • Page 247 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide 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 Ethernet 1/0/1 Switch(config-if)# voice vlan enable Switch(config-if)# 44-4 voice vlan mac-address This command is used to add the user-defined voice device OUI.
  • Page 248 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide Usage Guideline 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.
  • Page 249 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide packets, the switch will change its priority. When the voice device sends untagged packets, it will forward them in voice VLAN. When the switch receives LLDP-MED packets, it checks the VLAN ID, tagged flag, and priority flag. The switch should follow the tagged flag and priority setting.
  • Page 250 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide 44-7 show voice vlan This command is used to display the voice VLAN configurations. show voice vlan [interface [INTERFACE-ID [, | -]]] show voice vlan {device | lldp-med device} [interface INTERFACE-ID [, | -]]...
  • Page 251 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide 00-0F-E2-00-00-00 FF-FF-FF-00-00-00 Huawei&3COM 00-60-B9-00-00-00 FF-FF-FF-00-00-00 NEC&Philips 00-D0-1E-00-00-00 FF-FF-FF-00-00-00 Pingtel 00-E0-75-00-00-00 FF-FF-FF-00-00-00 Veritel 00-E0-BB-00-00-00 FF-FF-FF-00-00-00 3COM 00-02-03-00-00-00 FF-FF-FF-00-00-00 User1 Total OUI: 9 Switch# This example shows how to display the voice VLAN information of ports.
  • Page 252 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide Index : 2 Interface : eth1/0/2 Chassis ID Subtype : MAC Address Chassis ID : 00-E0-BB-00-00-12 Port ID Subtype : Network Address Port ID : 172.18.1.2 Create Time : 2012-03-20 11:00 Remain Time : 105 Seconds...
  • Page 253: Web Authentication Commands

    DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide 45. Web Authentication Commands 45-1 web-auth enable This command is used to enable the Web authentication function on the port. Use the no form of this command to disable the Web authentication function.
  • Page 254 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide 45-2 web-auth page-element This command is used to customize the Web authentication page elements. Use the no form of this command to revert to the default setting. web-auth page-element {page-title STRING | login-window-title STRING | username-title STRING |...
  • Page 255 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide This example shows how to modify two lines of the copyright information at the bottom of the authentication page with: Line 1: Copyright @ 2018 All Rights Reserved Line 2: Site: http://support.website.com...
  • Page 256 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide 45-4 web-auth system-auth-control This command is used to enable the Web authentication function globally on the Switch. Use the no form of this command to disable the Web authentication function globally on the Switch.
  • Page 257 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide Command Mode Global Configuration Mode. Command Default Level Level: 12. Usage Guideline The virtual IP of Web authentication is just the characterization of the Web authentication function on the Switch. All Web authentication processes communicate with this IP address, however, the virtual IP does not respond to any ICMP packet or ARP request.
  • Page 258: Appendix A - System Log Entries

    DIS-200G Series Gigabit Ethernet 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. Auto Surveillance VLAN Log Description Severity Event description: When a new surveillance device is detected on an interface.
  • Page 259 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide mode: Represent the mode of ASV 2.0. And the mode can be standard or surveillance. Log Description Severity Event description: when the any of SFP parameters exceeds from the warning Warning threshold.
  • Page 260 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide Interface Log Description Severity Event description: When port is down Informational Log Message: Port < interface-id> link down Parameters description: interface-id: Interface name Event description: When port is up Informational Log Message: Port < interface-id> link up, <link-speed>...
  • Page 261 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide Event description: Login through telnet unsuccessfully. Warning Log Message: Login failed through Telnet (Username: <username>, IP: <ipaddr>) Parameters description: username: Represent current login user. ipaddr: Represent client IP address. Event description: Telnet session timed out.
  • Page 262 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide Safeguard Log Description Severity Event description: the host enters the mode of exhausted. Warning Log Message: Unit <unit-id>, Safeguard Engine enters EXHAUSTED mode. Parameters description: unit-id: The Unit ID Event description: the host enters the mode of normal.
  • Page 263 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide interface-id: Interface name. mac-address: Voice device MAC address Event description: When an interface which is in auto voice VLAN mode joins the voice Informational VLAN Log Message: < interface-id > add into voice VLAN <vid >...
  • Page 264 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide Event description: When a host fail to pass the authentication. Error Message: Web-Authentication host login fail (Username: <string>, IP: <ipaddr | ipv6address>, MAC: <mac-address>, <interface-id>, VID: <vlan-id>) Parameters description: Username: The host username.
  • Page 265: Appendix B - Trap Entries

    DIS-200G Series Gigabit Ethernet 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. Authentication Fail Trap Name Description authenticationFailure An authenticationFailure trap signifies that the SNMPv2 1.3.6.1.6.3.1.1.5...
  • Page 266 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide LLDP Trap Name Description lldpRemTablesChange A lldpRemTablesChange notification is sent when the 1.0.8802.1.1.2. value of lldpStatsRemTableLastChangeTime changes. It 0.0.1 can be utilized by an NMS to trigger LLDP remote systems table maintenance polls.
  • Page 267 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide linkUp A notification is generated when port linkup. 1.3.6.1.6.3.1.1.5 Binding objects: (1) ifIndex (2) ifAdminStatus (3) ifOperStatu linkDown A notification is generated when port linkdown. 1.3.6.1.6.3.1.1.5 Binding objects: (1) ifIndex (2) ifAdminStatus...
  • Page 268 DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide (2) isnaSessionAuthVlan (3) isnaSessionClientMacAddress (4) isnaSessionClientAddrType (5) isnaSessionClientAddress (6) isnaSessionAuthUserName...
  • Page 269: Appendix C - Ietf Radius Attributes Support

    IETF standard RADIUS attributes are defined in the RFC 2865 Remote Authentication Dial-In User Service (RADIUS), RFC 2866 RADIUS Accounting, RFC 2868 RADIUS Attributes for Tunnel Protocol Support, and RFC 2869 RADIUS Extensions. The following table lists the IETF RADIUS attributes supported by the D-Link switch. RADIUS Authentication Attributes: Trap Name...

Table of Contents