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
DGS-3000 Series Gigabit Ethernet Switch CLI Reference Guide
Boot Procedure
V4.00.001
-------------------------------------------------------------------------------
Power On Self Test ........................................ 100 %
MAC Address : F0-7D-68-15-10-00 H/W Version : B1
Please Wait, Loading V4.00.010 Runtime Image .............. UART init ................................................. Starting runtime image Device Discovery .......................................... Configuration init ........................................
100 % 100 %
100 % |
The Switch's MAC address can also be found in the Web management program on the Switch Information (Basic Settings) window on the Configuration menu.
The IP address for the Switch must be set before it can be managed with the Web-based manager. The Switch IP address can be automatically set using BOOTP or DHCP protocols, in which case the actual address assigned to the Switch must be known.
Starting at the command line prompt, enter the commands config ipif System ipaddress xxx.xxx.xxx.xxx/yyy.yyy.yyy.yyy. Where the x's represent the IP address to be assigned to the IP interface named System and the y's represent the corresponding subnet mask.
Alternatively, you can enter config ipif System ipaddress xxx.xxx.xxx.xxx/z. Where the x's represent the IP address to be assigned to the IP interface named System and the z represents the corresponding number of subnets in CIDR notation.
The IP interface named System on the Switch can be assigned an IP address and subnet mask which can then be used to connect a management station to the Switch's Telnet or Web-based management agent.
DGS-3000-28XMP:admin# config ipif System ipaddress 10.24.22.100/255.0.0.0 Command: config ipif System ipaddress 10.24.22.100/8
Success.
DGS-3000-28XMP:admin#
In the above example, the Switch was assigned an IP address of 10.24.22.100 with a subnet mask of 255.0.0.0. The system message Success indicates that the command was executed successfully. The Switch can now be configured and managed via Telnet, SNMP MIB browser and the CLI or via the Web-based management agent using the above IP address to connect to the Switch.
There are a number of helpful features included in the CLI. Entering the ? command will display a list of all of the top-level commands.
2
DGS-3000 Series Gigabit Ethernet Switch CLI Reference Guide
.. ? cable_diag ports cd cfm linktrace cfm lock md cfm loopback clear clear address_binding dhcp_snoop binding_entry ports clear address_binding nd_snoop binding_entry ports clear arptable clear attack_log clear cfm pkt_cnt clear counters clear dhcp binding clear dhcp conflict_ip clear ethernet_oam ports clear fdb clear igmp_snooping data_driven_group clear igmp_snooping statistics counter clear log clear mac_based_access_control auth_state CTRL+C ESC q Quit SPACE n Next Page ENTER Next Entry a All
When entering a command without its required parameters, the CLI will prompt you with a Next possible completions: message.
DGS-3000-28XMP:admin#config account Command: config account Next possible completions:
DGS-3000-28XMP:admin#
In this case, the command config account was entered with the parameter . The CLI will then prompt to enter the with the message, Next possible completions:. Every command in the CLI has this feature, and complex commands have several layers of parameter prompting.
In addition, after typing any given command plus one space, users can see all of the next possible sub-commands, in sequential order, by repeatedly pressing the Tab key.
To re-enter the previous command at the command prompt, press the up arrow cursor key. The previous command will appear at the command prompt.
DGS-3000-28XMP:admin#config account Command: config account Next possible completions:
DGS-3000-28XMP:admin#config account
3
DGS-3000 Series Gigabit Ethernet Switch CLI Reference Guide
In the above example, the command config account was entered without the required parameter , the CLI returned the Next possible completions: prompt. The up arrow cursor control key was pressed to re-enter the previous command (config account) at the command prompt. Now the appropriate username can be entered and the config account command re-executed.
All commands in the CLI function in this way. In addition, the syntax of the help prompts are the same as presented in this manual - angle brackets < > indicate a numerical value or character string, braces { } indicate optional parameters or a choice of parameters, and brackets [ ] indicate required parameters.
If a command is entered that is unrecognized by the CLI, the top-level commands will be displayed under the Available commands: prompt.
DGS-3000-28XMP:admin#the
Available commands:
..
?
cfm
clear
create
debug
dir
disable
erase
erps
md
move
ping6
rd
rename
reset
smtp
telnet
upload
cable_diag config del download login no reboot save traceroute
cd copy delete enable logout ping reconfig show traceroute6
DGS-3000-28XMP:admin#
The top-level commands consist of commands such as show or config. Most of these commands require one or more parameters to narrow the top-level command. This is equivalent to show what? or config what? Where the what? is the next parameter.
For example, entering the show command with no additional parameters, the CLI will then display all of the possible next parameters.
4
................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related download
- table 9 regional month on month inflation rates of
- backing up and restoring data
- appendix c msat analysis results tables i5 rose quarter
- series primes in binary
- dgs 1510 me series cli reference guide
- información sobre ingresos y salarios de empleo por
- bridging apache kafka to tibco ems tibco software
- in this guide you will learn how to get your wifi optus
- exhibit 2 origin of movement of u s exports of goods by
Related searches
- sba quick reference guide 2019
- hospice pocket reference guide pdf
- excel reference guide free pdf
- vba language reference guide pdf
- python reference guide pdf
- python quick reference guide pdf
- apa guide for reference page
- quick reference guide template word
- sql reference guide pdf
- essential oil reference guide pdf
- microsoft quick reference guide template
- apa quick reference guide pdf