DGS-1510/ME Series CLI Reference Guide

 DGS-3000 Series Gigabit Ethernet Switch CLI Reference Guide

Table of Contents

Chapter 1 Chapter 2 Chapter 3 Chapter 4 Chapter 5 Chapter 6 Chapter 7 Chapter 8 Chapter 9 Chapter 10 Chapter 11 Chapter 12 Chapter 13 Chapter 14 Chapter 15 Chapter 16 Chapter 17 Chapter 18 Chapter 19 Chapter 20 Chapter 21 Chapter 22 Chapter 23 Chapter 24 Chapter 25 Chapter 26 Chapter 27 Chapter 28 Chapter 29 Chapter 30 Chapter 31 Chapter 32 Chapter 33 Chapter 34 Chapter 35 Chapter 36 Chapter 37 Chapter 38 Chapter 39

Using Command Line Interface.................................................................................................................1 Basic Command List .................................................................................................................................8 802.1Q VLAN Command List..................................................................................................................27 802.1X Command List.............................................................................................................................43 AAA Accounting Command List ..............................................................................................................58 Access Authentication Control Command List ........................................................................................76 Access Control List (ACL) Command List...............................................................................................97 Address Resolution Protocol (ARP) Command List..............................................................................116 ARP Spoofing Prevention Command List .............................................................................................121 Auto-Backup Command List .................................................................................................................124 Auto-Configuration Command List ........................................................................................................134 Auto-Image Command List ...................................................................................................................137 Basic Commands Command List..........................................................................................................140 BPDU Attack Protection Command List................................................................................................159 Cable Diagnostics Command List .........................................................................................................164 Command Logging Command List........................................................................................................166 Compound Authentication Command List.............................................................................................168 Configuration Command List.................................................................................................................176 Connectivity Fault Management (CFM) Command List ........................................................................181 Connectivity Fault Management (CFM) Extension Command List .......................................................204 CPU Interface Filtering Command List..................................................................................................212 Debug Software Command List ............................................................................................................221 DHCP Local Relay Command List ........................................................................................................228 DHCP Relay Command List..................................................................................................................234 DHCP Server Command List ................................................................................................................249 DHCP Server Screening Command List ...............................................................................................268 DHCPv6 Relay Command List..............................................................................................................280 Digital Diagnostic Monitoring (DDM) Commands .................................................................................297 D-Link Discovery Protocol (DDP) Client Command List .......................................................................303 D-Link Unidirectional Link Detection (DULD) Command List................................................................307 Domain Name System (DNS) Resolver Command List........................................................................310 DoS Attack Prevention Command List..................................................................................................317 Energy Efficient Ethernet (EEE) Command List ...................................................................................321 Ethernet Ring Protection Switching (ERPS) Command List .................................................................323 Filter Command List ..............................................................................................................................344 Filter Database (FDB) Command List ...................................................................................................347 Flash File System (FFS) Command List ...............................................................................................357 Flex Link Command List........................................................................................................................366 Gratuitous ARP Command List .............................................................................................................369

I

Chapter 40 Chapter 41 Chapter 42 Chapter 43 Chapter 44 Chapter 45 Chapter 46 Chapter 47 Chapter 48 Chapter 49 Chapter 50 Chapter 51 Chapter 52 Chapter 53 Chapter 54 Chapter 55 Chapter 56 Chapter 57 Chapter 58 Chapter 59 Chapter 60 Chapter 61 Chapter 62 Chapter 63 Chapter 64 Chapter 65 Chapter 66 Chapter 67 Chapter 68 Chapter 69 Chapter 70 Chapter 71 Chapter 72 Chapter 73 Chapter 74 Chapter 75 Chapter 76 Chapter 77 Chapter 78 Chapter 79 Chapter 80 Chapter 81

DGS-3000 Series Gigabit Ethernet Switch CLI Reference Guide IGMP Snooping Command List.............................................................................................................374 IP-MAC-Port Binding (IMPB) Command List ........................................................................................400 IPv6 Neighbor Discover Command List ................................................................................................428 Jumbo Frame Command List................................................................................................................432 Layer 2 Protocol Tunneling (L2PT) Command List...............................................................................434 Link Aggregation Command List ...........................................................................................................438 Link Layer Discovery Protocol (LLDP) Command List..........................................................................445 LLDP-MED Command List ....................................................................................................................463 Loop Back Detection (LBD) Command List ..........................................................................................471 MAC Notification Command List ...........................................................................................................477 MAC-based Access Control Command List..........................................................................................482 MAC-based VLAN Command List.........................................................................................................497 Mirror Command List.............................................................................................................................500 MLD Snooping Command List ..............................................................................................................503 MSTP debug enhancement Command List ..........................................................................................525 Multicast Filter Command List...............................................................................................................531 Multicast VLAN Command List .............................................................................................................542 Multiple Spanning Tree Protocol (MSTP) Command List .....................................................................563 Network Load Balancing (NLB) Command List ....................................................................................575 Network Monitoring Command List .......................................................................................................580 Network Time Protocol (NTP) Command List .......................................................................................586 OAM Commands...................................................................................................................................603 Password Recovery Command List ......................................................................................................610 Peripherals Command List ....................................................................................................................612 Ping Command List ...............................................................................................................................615 Port Security Command List .................................................................................................................618 Power over Ethernet (PoE) Command List (DGS-3000-28LP and DGS-3000-28XMP Only) ..............626 Power Saving Command List................................................................................................................633 PPPoE Circuit ID Insertions Command List ..........................................................................................640 Protocol VLAN Command List ..............................................................................................................643 QinQ Command List..............................................................................................................................649 Quality of Service (QoS) Command List ...............................................................................................657 RADIUS Client Command List ..............................................................................................................676 RSPAN Command List..........................................................................................................................685 Safeguard Engine Command List .........................................................................................................691 Secure Shell (SSH) Command List.......................................................................................................693 Secure Sockets Layer (SSL) Command List ........................................................................................701 sFlow Command List.............................................................................................................................708 Show Technical Support Command List ...............................................................................................720 Simple Mail Transfer Protocol (SMTP) Command List .........................................................................723 Simple Network Management Protocol (SNMP) Command List...........................................................728 Single IP Management Command List..................................................................................................754

II

Chapter 82 Chapter 83 Chapter 84 Chapter 85 Chapter 86 Chapter 87 Chapter 88 Chapter 89 Chapter 90 Chapter 91 Chapter 92 Chapter 93 Chapter 94 Chapter 95 Chapter 96 Chapter 97 Appendix A Appendix B Appendix C Appendix D Appendix E Appendix F

DGS-3000 Series Gigabit Ethernet Switch CLI Reference Guide Static Route Command List ..................................................................................................................765 Syslog and Trap Source-interface Command List ................................................................................771 System Log Command List ...................................................................................................................775 System Severity Command List ............................................................................................................795 Telnet Client Command List..................................................................................................................797 TFTP/FTP Client Command List ...........................................................................................................798 Time and SNTP Command List ............................................................................................................808 Trace Route Command List ..................................................................................................................815 Traffic Control Command List ...............................................................................................................818 Traffic Segmentation Command List.....................................................................................................823 Trusted Host Command List .................................................................................................................825 UDP Helper Command List ...................................................................................................................829 VLAN Trunking Command List..............................................................................................................835 Voice VLAN Command List...................................................................................................................840 Web-based Access Control (WAC) Command List ..............................................................................850 Zero Touch Provisioning (ZTP) Command List.....................................................................................865 Password Recovery Procedure.............................................................................................................868 System Log Entries ...............................................................................................................................869 Trap Log Entries....................................................................................................................................878 RADIUS Attributes Assignment.............................................................................................................883 IETF RADIUS Attributes Support ..........................................................................................................885 ERPS Information..................................................................................................................................887

III

DGS-3000 Series Gigabit Ethernet Switch CLI Reference Guide

Chapter 1 Using Command Line Interface

The Switch can be managed through the Switch's serial port, Telnet, SNMP or the Web-based management agent. The Command Line Interface (CLI) can be used to configure and manage the Switch via the serial port or Telnet interfaces. This manual provides a reference for all of the commands contained in the CLI. Every command will be introduced in terms of purpose, format, description, parameters, and examples. Configuration and management of the Switch via the Web-based management agent are discussed in the Web UI Reference Guide. For detailed information on installing hardware please also refer to the Hardware Installation Guide.

1-1 Accessing the Switch via the Serial Port

The Switch's serial port's default settings are as follows: ? 115200 baud ? no parity ? 8 data bits ? 1 stop bit

A computer running a terminal emulation program capable of emulating a VT-100 terminal and a serial port configured as above are then connected to the Switch's Console port via an included RS-232 to RJ-45 convertor cable.

With the serial port properly connected to a management computer, the following screen should be visible. If this screen does not appear, try pressing Ctrl+r to refresh the console screen.

DGS-3000-28XMP Gigabit Ethernet Switch Command Line Interface

UserName: PassWord:

Firmware: Build 4.00.010 Copyright(C) 2018 D-Link Corporation. All rights reserved.

DGS-3000-28XMP:admin#

There is no initial username or password. Just press the Enter key twice to display the CLI input cursor - DGS3000-28XMP:admin#. This is the command line where all commands are input.

1-2 Setting the Switch's IP Address

Each Switch must be assigned its own IP address, which is used for communication with an SNMP network manager or other TCP/IP application (for example BOOTP, TFTP). The Switch's default IP address is 10.90.90.90. You can change the default Switch IP address to meet the specification of your networking address scheme.

The Switch is also assigned a unique MAC address by the factory. This MAC address cannot be changed, and can be found on the initial boot console screen ? shown below.

1

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download