Product Manual
Page 2
...Smart Managed Switch CLI Reference Guide Table of Contents 1. Introduction...1 2. Basic CLI Commands ...9 3. 802.1X Commands...27 4. Access Management Commands ...73 6. Asymmetric VLAN Commands...102 8. Authentication, Authorization, and Accounting (AAA) Commands 103 9. Command Logging Commands ...170 14. DHCP Server Commands ...232 22. DHCP Server Screening Commands...260 23. DHCPv6 Relay Commands...287 27. D-Link Discovery Protocol (DDP) Client Commands 341 31. File System Commands ...397 37. Internet Group Management Protocol (IGMP) Proxy Commands 468 i Access Control List (ACL...
...Smart Managed Switch CLI Reference Guide Table of Contents 1. Introduction...1 2. Basic CLI Commands ...9 3. 802.1X Commands...27 4. Access Management Commands ...73 6. Asymmetric VLAN Commands...102 8. Authentication, Authorization, and Accounting (AAA) Commands 103 9. Command Logging Commands ...170 14. DHCP Server Commands ...232 22. DHCP Server Screening Commands...260 23. DHCPv6 Relay Commands...287 27. D-Link Discovery Protocol (DDP) Client Commands 341 31. File System Commands ...397 37. Internet Group Management Protocol (IGMP) Proxy Commands 468 i Access Control List (ACL...
Product Manual
Page 5
... are: • DGS-1520 Series Gigabit Ethernet Smart Managed Switch Hardware Installation Guide • DGS-1520 Series Gigabit Ethernet Smart Managed Switch Web UI Reference Guide Conventions Convention Description Boldface Font Commands, command options and keywords are a further source of the vales or arguments in UPPERCASE ITALICS. Other Documentation The documents below provides an explanatory remark regarding each type of your switch using the Command Line Interface (CLI). Braces { } Braces enclose alternative keywords separated by vertical bars. Each example below are...
... are: • DGS-1520 Series Gigabit Ethernet Smart Managed Switch Hardware Installation Guide • DGS-1520 Series Gigabit Ethernet Smart Managed Switch Web UI Reference Guide Conventions Convention Description Boldface Font Commands, command options and keywords are a further source of the vales or arguments in UPPERCASE ITALICS. Other Documentation The documents below provides an explanatory remark regarding each type of your switch using the Command Line Interface (CLI). Braces { } Braces enclose alternative keywords separated by vertical bars. Each example below are...
Product Manual
Page 8
...config)# The exit command is slightly different. Users logged in with this Configuration Guide. Thus, interface configuration mode is used to configure the parameters for various levels. In order to access the global configuration mode, the user must be logged in with the corresponding account level and use the configure terminal command in this command mode can be a physical port, VLAN, or other subconfiguration modes. An interface can create different user account for an interface or a range of interfaces. DGS-1520 Series Gigabit Ethernet Smart Managed Switch CLI...
...config)# The exit command is slightly different. Users logged in with this Configuration Guide. Thus, interface configuration mode is used to configure the parameters for various levels. In order to access the global configuration mode, the user must be logged in with the corresponding account level and use the configure terminal command in this command mode can be a physical port, VLAN, or other subconfiguration modes. An interface can create different user account for an interface or a range of interfaces. DGS-1520 Series Gigabit Ethernet Smart Managed Switch CLI...
Product Manual
Page 17
... default, the console, Telnet, and SSH line use the login local method (username and password). Command Mode Line Configuration Mode. Command Default Level Level: 1. When using Telnet, if all attempts fail, access will return to change the login account. Use the no form of this command to the state when logged out. Default None. DGS-1520 Series Gigabit Ethernet Smart Managed Switch CLI Reference Guide Command Mode User/Privileged EXEC Mode. Usage Guideline For Console and Telnet access, when AAA is disabled, the line uses the following authentication rules: 13 Example...
... default, the console, Telnet, and SSH line use the login local method (username and password). Command Mode Line Configuration Mode. Command Default Level Level: 1. When using Telnet, if all attempts fail, access will return to change the login account. Use the no form of this command to the state when logged out. Default None. DGS-1520 Series Gigabit Ethernet Smart Managed Switch CLI Reference Guide Command Mode User/Privileged EXEC Mode. Usage Guideline For Console and Telnet access, when AAA is disabled, the line uses the following authentication rules: 13 Example...
Product Manual
Page 22
Default None. DGS-1520 Series Gigabit Ethernet Smart Managed Switch CLI Reference Guide Command Mode Reset Configuration Mode. For assistance on how to display the detailed fan status. 18 Before the reload is executed, the Switch will prompt the administrator to approve saving the running configuration as the startup configuration. Example This example shows how to use the password-recovery command and follow the confirmation prompt message to display fan, temperature, power availability and status information. show environment This command is selected. Usage Guideline...
Default None. DGS-1520 Series Gigabit Ethernet Smart Managed Switch CLI Reference Guide Command Mode Reset Configuration Mode. For assistance on how to display the detailed fan status. 18 Before the reload is executed, the Switch will prompt the administrator to approve saving the running configuration as the startup configuration. Example This example shows how to use the password-recovery command and follow the confirmation prompt message to display fan, temperature, power availability and status information. show environment This command is selected. Usage Guideline...
Product Manual
Page 45
... number is used to the default setting. The default value is from 1 to the new sequence setting. 41 Default The default start sequence number or increment change according to 32. Subsequent rule entries are 25, 30, 35, 40, and so on. Access Control List (ACL) Commands 4-1 access-list resequence This command is 10. If the highest sequence number exceeds the maximum possible sequence number, there will change , the sequence number of the list. DGS-1520 Series Gigabit Ethernet Smart Managed Switch CLI Reference Guide...
... number is used to the default setting. The default value is from 1 to the new sequence setting. 41 Default The default start sequence number or increment change according to 32. Subsequent rule entries are 25, 30, 35, 40, and so on. Access Control List (ACL) Commands 4-1 access-list resequence This command is 10. If the highest sequence number exceeds the maximum possible sequence number, there will change , the sequence number of the list. DGS-1520 Series Gigabit Ethernet Smart Managed Switch CLI Reference Guide...
Product Manual
Page 138
...Usage Guideline The ARP table keeps the network layer IP address to add a static ARP entry for the ARP table. Example This example shows how to local data-link MAC address association. arp timeout MINUTES no traffic activity within the timeout period. Command Default Level Level: 12. Use the no arp IP-ADDRESS HARDWARE-ADDRESS Parameters IP-ADDRESS HARDWARE-ADDRESS Specifies the network layer IP address. DGS-1520 Series Gigabit Ethernet Smart Managed Switch CLI Reference Guide 9. Use this command to revert to 65535. Switch#configure terminal Switch(config)#arp 10.31.7.19...
...Usage Guideline The ARP table keeps the network layer IP address to add a static ARP entry for the ARP table. Example This example shows how to local data-link MAC address association. arp timeout MINUTES no traffic activity within the timeout period. Command Default Level Level: 12. Use the no arp IP-ADDRESS HARDWARE-ADDRESS Parameters IP-ADDRESS HARDWARE-ADDRESS Specifies the network layer IP address. DGS-1520 Series Gigabit Ethernet Smart Managed Switch CLI Reference Guide 9. Use this command to revert to 65535. Switch#configure terminal Switch(config)#arp 10.31.7.19...
Product Manual
Page 140
... default IP address of the MGMT port is not supported on an interface from the interface. For manual assignment, the user can be either manually assigned by the user or dynamically assigned by the DHCP server. The primary address will be the primary IP address and the rest are sent out from the DHCP. DGS-1520 Series Gigabit Ethernet Smart Managed Switch CLI Reference Guide Example This example shows how to remove all Switch# 9-4 ip address This command is the primary IP address. Use...
... default IP address of the MGMT port is not supported on an interface from the interface. For manual assignment, the user can be either manually assigned by the user or dynamically assigned by the DHCP server. The primary address will be the primary IP address and the rest are sent out from the DHCP. DGS-1520 Series Gigabit Ethernet Smart Managed Switch CLI Reference Guide Example This example shows how to remove all Switch# 9-4 ip address This command is the primary IP address. Use...
Product Manual
Page 412
... and set the history size value to remove all Specifies the MAC address of interfaces from the table. Example This example shows how to enable MAC address change history-size 500 Switch(config)# 37-6 mac-address-table static This command is enabled. Default No static addresses are configured. 408 Specifies to 500 entries. DGS-1520 Series Gigabit Ethernet Smart Managed Switch CLI Reference Guide Command Mode Global Configuration Mode. Use the no mac-address-table static {all | MAC-ADDR vlan VLAN-ID [interface INTERFACE-ID] [, | -]} Parameters MAC-ADDR vlan VLAN-ID interface...
... and set the history size value to remove all Specifies the MAC address of interfaces from the table. Example This example shows how to enable MAC address change history-size 500 Switch(config)# 37-6 mac-address-table static This command is enabled. Default No static addresses are configured. 408 Specifies to 500 entries. DGS-1520 Series Gigabit Ethernet Smart Managed Switch CLI Reference Guide Command Mode Global Configuration Mode. Use the no mac-address-table static {all | MAC-ADDR vlan VLAN-ID [interface INTERFACE-ID] [, | -]} Parameters MAC-ADDR vlan VLAN-ID interface...
Product Manual
Page 468
DGS-1520 Series Gigabit Ethernet Smart Managed Switch CLI Reference Guide Usage Guideline Use this command to revert to 3. Switch#configure terminal Switch(config)#interface vlan1000 Switch(config-if)#ip igmp enable Switch(config-if)#ip igmp version 3 Switch(config-if)# 464 Some commands are only effective for multicast data routing to change to configure a static IGMP group entry on the specified interface. Once configured, the group member entry is added to create an IGMP static group in case that when the attached host does not support the IGMP protocol. Default The ...
DGS-1520 Series Gigabit Ethernet Smart Managed Switch CLI Reference Guide Usage Guideline Use this command to revert to 3. Switch#configure terminal Switch(config)#interface vlan1000 Switch(config-if)#ip igmp enable Switch(config-if)#ip igmp version 3 Switch(config-if)# 464 Some commands are only effective for multicast data routing to change to configure a static IGMP group entry on the specified interface. Once configured, the group member entry is added to create an IGMP static group in case that when the attached host does not support the IGMP protocol. Default The ...
Product Manual
Page 583
... ID Subtype : MAC Address Chassis ID : 80-26-89-15-28-00 System Name : Switch System Description : Gigabit Ethernet Smart Managed Switch System Capabilities Supported: Repeater, Bridge System Capabilities Enabled : Repeater, Bridge LLDP-MED System Information: Device Class Hardware Revision Firmware Revision Software Revision Serial Number Manufacturer Name Model Name Asset ID PoE Device Type PoE PSE Power Source : Network Connectivity Device : A1 : 1.00.011 : 1.01.004 : DGS1520-28MPA : D-Link Corporation : DGS-1520-28MP : : PSE Device...
... ID Subtype : MAC Address Chassis ID : 80-26-89-15-28-00 System Name : Switch System Description : Gigabit Ethernet Smart Managed Switch System Capabilities Supported: Repeater, Bridge System Capabilities Enabled : Repeater, Bridge LLDP-MED System Information: Device Class Hardware Revision Firmware Revision Software Revision Serial Number Manufacturer Name Model Name Asset ID PoE Device Type PoE PSE Power Source : Network Connectivity Device : A1 : 1.00.011 : 1.01.004 : DGS1520-28MPA : D-Link Corporation : DGS-1520-28MP : : PSE Device...
Product Manual
Page 608
...source ports whose packets will be specified for dedicated use to 4094. Use the remote-span command in the subsequent switches. 604 DGS-1520 Series Gigabit Ethernet Smart Managed Switch CLI Reference Guide monitor session SESSION-NUMBER destination remote vlan VLAN-ID interface INTERFACE-ID monitor session SESSION-NUMBER destination remote vlan access-list ACCESS-LIST-NAME replace vlan VLAN-ID no monitor session SESSION-NUMBER destination remote vlan [access-list ACCESS-LIST-NAME] Parameters SESSION-NUMBER VLAN-ID interface INTERFACE-ID access-list ACCESS-LISTNAME replace vlan VLAN...
...source ports whose packets will be specified for dedicated use to 4094. Use the remote-span command in the subsequent switches. 604 DGS-1520 Series Gigabit Ethernet Smart Managed Switch CLI Reference Guide monitor session SESSION-NUMBER destination remote vlan VLAN-ID interface INTERFACE-ID monitor session SESSION-NUMBER destination remote vlan access-list ACCESS-LIST-NAME replace vlan VLAN-ID no monitor session SESSION-NUMBER destination remote vlan [access-list ACCESS-LIST-NAME] Parameters SESSION-NUMBER VLAN-ID interface INTERFACE-ID access-list ACCESS-LISTNAME replace vlan VLAN...
Product Manual
Page 706
DGS-1520 Series Gigabit Ethernet Smart Managed Switch CLI Reference Guide Command Default Level Level: 12. authentication max users NUMBER no form of the entire system. Command Mode Global Configuration Mode. Usage Guideline Use this command to revert to 4096. The range is no limit. Default By default, there is from 1 to the default setting. The maximum users being limited include 802.1X, MAC-based Access Control, and WAC users. Use the no authentication max users Parameters NUMBER Specifies to operate in the Interface Configuration Mode, the...
DGS-1520 Series Gigabit Ethernet Smart Managed Switch CLI Reference Guide Command Default Level Level: 12. authentication max users NUMBER no form of the entire system. Command Mode Global Configuration Mode. Usage Guideline Use this command to revert to 4096. The range is no limit. Default By default, there is from 1 to the default setting. The maximum users being limited include 802.1X, MAC-based Access Control, and WAC users. Use the no authentication max users Parameters NUMBER Specifies to operate in the Interface Configuration Mode, the...
Product Manual
Page 845
... sets the activation time frame for a port. 841 Enabled: The legacy PD can be of the following: Auto: The powered device will be automatically detected and maximum power is the user configured value. Auto(M): The powered device will not be detected. The priority used to prioritize the service order when power constrain happens within at the power unit. The user configured mode can be detected, and no power to the port. DGS-1520 Series Gigabit Ethernet Smart Managed Switch CLI Reference Guide Example...
... sets the activation time frame for a port. 841 Enabled: The legacy PD can be of the following: Auto: The powered device will be automatically detected and maximum power is the user configured value. Auto(M): The powered device will not be detected. The priority used to prioritize the service order when power constrain happens within at the power unit. The user configured mode can be detected, and no power to the port. DGS-1520 Series Gigabit Ethernet Smart Managed Switch CLI Reference Guide Example...
Product Manual
Page 857
.... Switch#configure terminal Switch(config)#interface eth1/0/1 Switch(config-if)#power-saving eee Switch(config-if)# 76-4 power-saving dim-led time-range This command is scalable to enable the EEE power saving function. Command Default Level Level: 12. Use the no form of the time range profile to be turned off. 853 Command Mode Global Configuration Mode. Usage Guideline Use this command to add or delete a time range profile for the dim LED schedule. DGS-1520 Series Gigabit Ethernet Smart Managed Switch CLI Reference Guide Usage Guideline Use this command to configure the time...
.... Switch#configure terminal Switch(config)#interface eth1/0/1 Switch(config-if)#power-saving eee Switch(config-if)# 76-4 power-saving dim-led time-range This command is scalable to enable the EEE power saving function. Command Default Level Level: 12. Use the no form of the time range profile to be turned off. 853 Command Mode Global Configuration Mode. Usage Guideline Use this command to add or delete a time range profile for the dim LED schedule. DGS-1520 Series Gigabit Ethernet Smart Managed Switch CLI Reference Guide Usage Guideline Use this command to configure the time...
Product Manual
Page 1070
... packet. DGS-1520 Series Gigabit Ethernet Smart Managed Switch CLI Reference Guide This example shows how to create an SNMP user. Switch#configure terminal Switch(config)#snmp-server community comaccess rw Switch(config)#snmp-server host 163.10.50.126 version 1 comaccess port 50001 Switch(config)# 97-7 snmp-server source-interface traps This command is used to the default setting. snmp-server source-interface traps INTERFACE-ID no form of this command to revert to specify the interface whose IP address will be used as the source address for sending SNMP trap packets. Command Mode...
... packet. DGS-1520 Series Gigabit Ethernet Smart Managed Switch CLI Reference Guide This example shows how to create an SNMP user. Switch#configure terminal Switch(config)#snmp-server community comaccess rw Switch(config)#snmp-server host 163.10.50.126 version 1 comaccess port 50001 Switch(config)# 97-7 snmp-server source-interface traps This command is used to the default setting. snmp-server source-interface traps INTERFACE-ID no form of this command to revert to specify the interface whose IP address will be used as the source address for sending SNMP trap packets. Command Mode...
Product Manual
Page 1140
... data will clear the system's configuration to setup the IP address via the local console. Before using the copy command or upload the configuration profile to the default settings. This command will be disconnected. Command Default Level Level: 15. 1136 Command Mode Privileged EXEC Mode. Default None. Clear running configuration. Thus, all the existing remote connections will clear the system's configuration settings, including IP parameters, but not the stacking information. DGS-1520 Series Gigabit Ethernet Smart Managed Switch CLI Reference Guide Command...
... data will clear the system's configuration to setup the IP address via the local console. Before using the copy command or upload the configuration profile to the default settings. This command will be disconnected. Command Default Level Level: 15. 1136 Command Mode Privileged EXEC Mode. Default None. Clear running configuration. Thus, all the existing remote connections will clear the system's configuration settings, including IP parameters, but not the stacking information. DGS-1520 Series Gigabit Ethernet Smart Managed Switch CLI Reference Guide Command...
Product Manual
Page 1261
... user account information. 1257 DGS-1520 Series Gigabit Ethernet Smart Managed Switch CLI Reference Guide Appendix A - The basic authentication method used to accept qualified users is used . This section will be used to delete all ports on the Switch. no enable password no login password no username password-recovery reload reload clear runningconfig show username This command is necessary and important. Authenticating any user who tries to access networks is used to enter the "Password Recovery Mode." This command is used to clear the local login methods. Password Recovery...
... user account information. 1257 DGS-1520 Series Gigabit Ethernet Smart Managed Switch CLI Reference Guide Appendix A - The basic authentication method used to accept qualified users is used . This section will be used to delete all ports on the Switch. no enable password no login password no username password-recovery reload reload clear runningconfig show username This command is necessary and important. Authenticating any user who tries to access networks is used to enter the "Password Recovery Mode." This command is used to clear the local login methods. Password Recovery...
Product Manual 1
Page 30
...Serial (COM) port of the console cable (included in the packaging) to the CLI using Telnet or SSH. Connect the DB9 connector of the computer. Switch Management Management Options Command Line Interface (CLI) Web User Interface (Web UI) SNMP-based Management Management Options To configure, manage, and monitor the software features on the Switch. The Switch uses a connection of the software features available on the Switch, users can be used to connect to all of 115200 bits per second with no flow control enabled. DGS-1520 Series Gigabit Ethernet Smart Managed Switch Hardware...
...Serial (COM) port of the console cable (included in the packaging) to the CLI using Telnet or SSH. Connect the DB9 connector of the computer. Switch Management Management Options Command Line Interface (CLI) Web User Interface (Web UI) SNMP-based Management Management Options To configure, manage, and monitor the software features on the Switch. The Switch uses a connection of the software features available on the Switch, users can be used to connect to all of 115200 bits per second with no flow control enabled. DGS-1520 Series Gigabit Ethernet Smart Managed Switch Hardware...
Product Manual 2
Page 30
... Guide. Connect the RJ45 connector of the computer. NOTE: For more information about the CLI, refer to the CLI using Telnet or SSH. The Switch uses a connection of the software features available on the Switch. NOTE: The default username and password for the CLI and Web UI is displayed. Command Line Interface (CLI) The CLI provides access to the Console port on the Switch, users can be used to connect to the Command Line Interface (CLI), Web User Interface (Web UI), or through the Console port, Terminal Emulation Software must be enabled, configured, disabled, or monitored...
... Guide. Connect the RJ45 connector of the computer. NOTE: For more information about the CLI, refer to the CLI using Telnet or SSH. The Switch uses a connection of the software features available on the Switch. NOTE: The default username and password for the CLI and Web UI is displayed. Command Line Interface (CLI) The CLI provides access to the Console port on the Switch, users can be used to connect to the Command Line Interface (CLI), Web User Interface (Web UI), or through the Console port, Terminal Emulation Software must be enabled, configured, disabled, or monitored...