Home

6 Command Line Interface - D-Link

image

Contents

1. config ipif System ipaddress lt ip address gt lt subnet mask gt gateway lt gw address gt dhcp debug info download firmware_fromTFTP tftp ip address filename cfg_fromTFTP tftp ip address filename logout ping lt ip_addr gt times lt integer 1 255 gt timeout lt integer 1 99 gt reboot reset config save show ipif show switch upload firmware_toTFTP tftp ip address filenam cfg_toTFTP tftp ip address filename DES 1210 28P gt Figure 119 The command 72 6 Command Line Interface D Link Web Smart Switch User Manual Download The download command is used to download and install new firmware or a Switch configuration file from a TFTP server Syntax download firmware_fromTFTP tftp ip address filename cfg_fromTFTP tftp ip address filename Parameters firmware_fromTFTP Download and install new firmware on the Switch from a TFTP server cfg_fromTFTP Download a switch configuration file from a TFTP server tftp ip address The IP address of the TFTP server filename The filename of the firmware or switch configuration file on the TFTP server You need to specify the DOS path if the file is not at the root directory of the TFTP server Note Switch will reboot after restore and all current configurations will be lost Upload The upload command is used to upload the firmware file or a Switch configuration file to a TFTP server
2. Figure 126 The show switch command Config account admin password The command sets the administrator password Syntax config account admin password lt passwd gt Parameter Parameter lt passwd gt The new password of the administrator Example DES 1210 28P gt config account admin password admin DES 1210 28P gt Figure 127 The config account admin password command Save The command saves the configuration changes to the memory Syntax save Example DES 1210 28P gt save Building configuration OK DES 1210 28P gt Figure 128 The save command 77 6 Command Line Interface D Link Web Smart Switch User Manual Debug info This command displays the ARP table and MAC FDB of the Switch Syntax debug info Example DES 1210 28P gt debug info ARP table Address Hardware Address Type Interface Mapping LIZ 19 89 00 18 8b bf 75 30 ARPA vianMgmt Dynamic 122 L542 54 00 19 5b 14 3d c4 ARPA vianMgmt Dynamic MAC table Vian ac Address Type Ports il 00 00 00 00 00 26 Learnt Fa0 4 1 00 00 48 bf f 3 01 Learnt Fa0 4 1 00 03 1b 66 66 5c Learnt Fa0 4 Al 00 03 64 00 01 23 Learnt Fa0 4 1 00 0d 60 cb 6e 5d Learnt Fa0 4 1 00 0e 7b a0 12 97 Learnt Fa0 4 Al 00 0f 3d a8 88 9b Learnt Fa0 4 q 00 0f ea f0 0e 1 Learnt Fa0 4 1 00 10 db 73 68 31 Learnt Fa0 4 1 00 11 25 2c 43 c6 Learnt Fa0 4 1 00 11 25 43 38 83 Learnt Fa0 4 Total Mac
3. Syntax upload firmware_toTFTP tftp ip address filename cfg_toTFTP tftp ip address filename Parameters firmware_toTFTP Upload the firmware on the Switch from a TFTP server 73 6 Command Line Interface D Link Web Smart Switch User Manual cfg_toTFTP Specifies that the Switch s current settings will be uploaded to the TFTP server tftp ip address The IP address of the TFTP server filename The filename of the firmware or switch configuration file on the TFTP server You need to specify the DOS path if the file is not at the root directory of the TFTP server Config ipif system The config ipif system command sets the IP address of the switch Syntax config ipif system ipaddress lt ip address gt lt subnet mask gt gateway lt gw address gt dhcp Parameter Parameter Description ipaddress The IP address and subnet mask to be created Users need to specify lt ip address gt the address and mask information using the traditional format for lt subnet mask gt example 10 1 2 3 255 0 0 0 gateway The IP address of the router or gateway lt gw address gt dhcp Allows the selection of the DHCP protocol for the assignment of an IP address to the Switch s System IP interface Example DES 1210 28P gt config ipif system ipaddress 172 17 5 214 255 255 255 0 gateway 172 17 5 214 The IP setting mode change to static will cause CLI disconnect Figure 120 The config ipif sys
4. 6 Command Line Interface D Link Web Smart Switch User Manual 6 Command Line Interface The D Link Web Smart Switch allows a computer or terminal to perform some basic monitoring and configuration tasks by using the Command Line Interface CLI via TELNET protocol To connect a switch via TELNET 1 Make sure the network connection between the switch and PC is active 2 To connect launch any terminal software like HyperTerminal in Microsoft Windows or just use the command prompt by typing the command telnet followed by the switch IP address eg telnet 10 90 90 90 3 The logon prompt will appear Logging on to the Command Line Interface Enter your User Name and Password to log in The default user name and password is admin Note that the user name and password are case sensitive Press Enter in both the Username and Password fields The command prompt will appear as shown below DES 1210 28P gt DES 1210 28P login admin Password DES 1210 28P gt Figure 118 Command Prompt The user session is automatically terminated if idle for the login timeout period The default login timeout period is 5 minutes To change the login timeout session please refers to chapter 5 CLI Commands There are a number of helpful features included in the CLI Enter the command will display a list of commands DES 1210 28P gt USEREXEC commands config account admin password lt passwd gt
5. Addresses displayed 11 DES 1210 28P gt Figure 129 The debug info command 78
6. tem command Logout This command closes the current connection Syntax logout Example DES 1210 28P gt logout 74 6 Command Line Interface D Link Web Smart Switch User Manual Figure 121 The logout command Ping This command checks if another IP address is reachable on the network You can ping the IP address connected to through the managed VLAN VLAN 1 by default as long as there is a physical path between the switch and the target IP equipment By default Switch sends five pings to the target IP Syntax ping lt ipaddr gt times lt integer 1 255 gt timeout lt integer 1 99 gt Parameter Parameter Description lt ipaddr gt The IP address of the target station times lt integer Specify how many ping requests will be sent to the target IP address 1 255 gt timeout lt integer Specify the timeout interval waiting the ping reply for target IP address 1 99 gt Example DES 1210 28P gt ping 10 90 90 91 times 3 timeout 1 Reply Received From 10 90 90 91 TimeTaken 20 msecs Reply Received From 10 90 90 91 TimeTaken 20 msecs Reply Received From 10 90 90 91 TimeTaken 20 msecs 10 90 90 91 Ping Statistics 3 Packets Transmitted 3 Packets Received Packets Loss DES 1210 28P gt Figure 122 The ping command Note DES 1210 08P does not support times and timeout configurations Reboot This command reboots the system All network connec
7. tions are terminated and the boot code executes Syntax reboot 75 6 Command Line Interface D Link Web Smart Switch User Manual Example ES 1210 28P gt reboot Device will reboot please wait a few minutes to re login ES 1210 28P gt Ded Figure 123 The reboot command Reset All configurations will be reset to the default settings Syntax reset config Example DES 1210 28P gt reset config Device will reboot after reset configuration successfully DES 1210 28P gt Figure 124 The reset config command Show ipif The command displays the current IP address of the switch Syntax show ipif Example DES 1210 28P gt show ipif IP Setting Mode Static IP Address E T E E Subnet Mask A A e200 30 Default Gateway VIZ VAIO 204 DES 1210 28P gt Figure 125 The show ipif command Show switch The command displays the status of the switch Syntax show switch 76 6 Command Line Interface D Link Web Smart Switch User Manual Example DES 1210 28P gt show switch System name System Contact System Location System up time 0 days 6 hrs 32 min 17 secs System Time 01 01 2009 06 32 19 System hardware version Al System firmware version 1 00 001 System boot version 1 00 000 System Protocol version 2 001 004 System serial number 1MB1733KO0O000A MAC Address 00 18 E7 48 85 50 DES 1210 28P gt

Download Pdf Manuals

image

Related Search

Related Contents

  1526 09 05 Rev0 UM Barbeador Aqua Blue [750896]  Stratix 8000 and Stratix 8300 Power over Ethernet Expansion Modules  Catalogo strumenti di misura  Advance User Manual  Lipid Data Analyzer 1.6  MISO 0.1.6RC User Manual - The Genome Analysis Centre  Cisco Small Business SF300-48PP-K9-EU network switch  

Copyright © All rights reserved.
Failed to retrieve file