Some useful network commands in DOS

Source: Internet
Author: User
Tags ftp commands
Explanation of common network commands in DOS
Arp
Displays and modifies the Address Resolution Protocol (ARP) physical address translation table of the IP address to the Ethernet or the ring. This command is only available when TCP/IP protocol is installed.
It is available only after discussion.
Arp-a [inet_addr] [-N] [if_addr]
Arp-d inet_addr [if_addr]
Arp-s inet_addr ether_addr [if_addr]
Parameters
-
Ask TCP/IP to display the current ARP entry. If inet_addr is specified, only the IP address and physical address of the specified computer are displayed.
-G
Same as-.
Inet_addr
Specify the IP address in decimal format.
-N
Displays the network interface ARP entry specified by if_addr.
If_addr
Specify the IP address (if any) of the address translation table interface to be modified ). If it does not exist, the first applicable interface will be used.
-D
Delete an item specified by inet_addr.
-S
Add an entry to the ARP cache to associate the IP address inet_addr with the physical address ether_addr. The physical address is separated by 6 hexadecimal characters
Bytes. Specify the IP address using the dotted decimal mark. Items are permanent, that is, items are automatically deleted from the cache after the timeout expires.
Ether_addr
Specifies the physical address.
Finger
Displays user information on the specified system that runs the Finger service. Different variables are output based on the remote system. This command is only available when TCP/IP protocol is installed.
It is available only after discussion.
Finger [-l] [user] @ computer [...]
Parameters
-L
Display information in long list format.
User
Specify the user to obtain the relevant information. The user parameter is omitted to display information of all users on the specified computer:
@ Computer
Ftp
Transfers a file to a remote computer that is running the FTP service or from a remote computer that is running the FTP service (sometimes called daemon ). Ftp
Interactive use. Click "ftp command" in the "Related topics" list to obtain the available "ftp" sub-command description. This command is only available when TCP/IP is installed.
The protocol is available. Ftp is a service. Once started, it will be created in a sub-environment where ftp commands can be used.
The sub-environment returns to the Windows 2000 command prompt. When the ftp sub-environment is running, it is represented by an ftp command prompt.
Ftp [-v] [-n] [-I] [-d] [-g] [-s: filename] [-a] [-w: windowsize] [computer]
Parameters
-V
Disable remote server response display.
-N
Automatic logon to the initial connection is prohibited.
-I
Disable interaction prompts when multiple files are transferred.
-D
Enable debugging and display all ftp Commands passed between the client and the server.
-G
Disable a file name group. It allows wildcard characters (* and?) to be used in local files and path names ?). (See the glob command in "Command Reference".

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.