DOS under the network command

zhaozj2021-02-16  95

ARP displays and modifies the "Address Resolution Protocol" (ARP) to the Ethernet IP or token Ring Physical Address Translation Table. This command is only available after the TCP / IP protocol is installed. Arp -a [inet_addr] [-n [if_addr]] arp -d inet_addr [if_addr] arp -s inet_addr ether_addr [if_addr] parameter -a display the current ARP item by querying TCP / IP. If INET_ADDR is specified, only the IP and physical address of the specified computer are displayed. -g is the same as -A. INET_ADDR specifies the IP address in a dotted decimal tag. -N Displays the network interface ARP item specified by if_addr. if_addr specifies the IP address (if any if any) you need to modify its address conversion table interface. If there is no existence, the first applicable interface will be used. -d Delete items specified by inet_addr. -s Add items in the ARP cache to associate the IP address INET_ADDR and physical address Ether_addr. The physical address is given by 6 hexadecimal bytes separated by a hyphen. Specify the IP address using a tether of the decimal tag. The item is permanent, that is, the timeout expiration will automatically remove from the cache. Ether_ADDR Specifies the physical address. Finger Displays information about the user on the specified system running the finger service. Different variables are output according to the remote system. This command is only available after the TCP / IP protocol is installed. Finger [-l] @computer [...] parameter -L Displays information in a long list form. User Specifies the user to get related information. The user parameters are omitted to display information about all users on the specified computer: @ComputerFTP Transports files to remote computers that are running the FTP service or send files from a remote computer that is running the FTP service (sometimes called daemon). FTP can interact with. Click the "FTP command" in the "Related Topic" list to obtain the available "FTP" subcommand description. This command is only available after the TCP / IP protocol is installed. FTP is a service. Once started, you will create a sub-environment in which the ftp command can be used, and you can return to the Windows 2000 command prompt by typing the quit subcommand. When the FTP sub-environment is run, it is represented by the FTP command prompt. FTP [-V] [-N] [-i] [-d] [-g] [-r: filename] [-A] [-w: windowsize] [computer] parameter -V disable display remote server response. -n prohibits automatically logging in to an initial connection. -i multiple file transfer When the interaction tips are turned off. -d Enable debug, display all FTP commands passed between clients and servers. -g Disable file name, which allows usage of wildcard characters (* and?) in local files and path names. (See the Glob command in the online "Command Reference".) - S: filename Specifies a text file containing the ftp command; these commands will run automatically when the FTP is started. Space is not allowed in this parameter. Use this switch instead of redirect (>). -A Use any local interface when bundled data connections. -w: Windowsize replaces the default size of 4096 transmission buffer. Computer Specifies the computer name or IP address to connect to the remote computer. If specified, the computer must be the last parameter of the line. NBTSTAT This diagnostic command uses NBT (NetBIOS on TCP / IP) and the current TCP / IP connection. This command is only available after the TCP / IP protocol is installed. NBTSTAT [-A Remotename] [-A IP address] [-c] [-n] [-r] [-r] [-s] [-r] [interval] parameter -a Remotename lists the name of the remote computer Its name table. -A IP Address uses a remote computer's IP address to list a name table.

-c gives the IP address of each name and lists the contents of the NetBIOS name cache. -n lists the local NetBIOS name. "Registered" indicates that the name has been registered in BNODE or WINS (other node type). -R Remove all names in the NetBIOS Name Cache to reload the LMHOSTS file. -r lists the name resolution statistics of the Windows network name resolution. On the Windows 2000 computer configured to use WINS, this option returns the number of names to resolve and register by broadcast or WINS. -S Displays the client and server session, listed remote computers only via the IP address. -s Displays the client and server session. Try converting a remote computer IP address into the name of the host file. Interval Re-displays the selected statistics, and suspend Interval seconds between each display. Press CTRL C to stop rescan statistics. If this parameter is omitted, NBTSTAT prints a current configuration information. NetStat Displays protocol statistics and current TCP / IP network connections. This command can only be used after the TCP / IP protocol is installed. NetStat [-a] [-e] [-n] [-r] [-r] [interval] parameter -a display all connection and listening ports. Server connections are usually not displayed. -e Displays Ethernet statistics. This parameter can be used in conjunction with the -s option. -n Displays the address and port number in digital format (instead of trying to find the name). -s Displays statistics for each protocol. By default, statistics on TCP, UDP, ICMP, and IP are displayed. The -p option can be used to specify the default subset. -p protocol Displays the connection of protocols specified by Protocol; Protocol can be TCP or UDP. If you use the -s option to display the statistics of each protocol, Protocol can be TCP, UDP, ICMP, or IP. -r Displays the contents of the routing table. Interval re-displays the selected statistics and suspend Interval seconds between each display. Stop the statistics by Ctrl B stop. If this parameter is omitted, NetStat will print a current configuration information. Ping verifies the connection to a remote computer. This command can only be used after the TCP / IP protocol is installed. Ping [-t] [-a] [-n count] [-l length] [-f] [-i ttl] [-V TOS] [-r count] [-s count] [[-j computer-list ] | [-k computer-list]] [-w timeout] destination-list parameter -tping the specified computer until the interrupt. -a resolves the address as the computer name. -n count Sends count of the ECHO packet specified by COUNT. The default is 4. -l Length Sends an Echo packet containing the amount of data specified by Length. The default is 32 bytes; the maximum is 65, 527. -f Send "Do not segment" flag in the packet. The packet will not be segmented by the gateway on the route. -i TTL sets the "Survival Time" field to the value specified by TTL. -V TOS sets the Service Type field to the value specified by TOS. -r Count Records the route from the "Record Routing" field. COUNT can specify at least 1 set, up to 9 computers. -s count Specifies the timestamp of the number of hops specified by count. -j Computer-List uses computer-list to route packets. A continuous computer can be separated by the intermediate gateway (routing sparse source) IP allowed to be 9. -k computer-list Routing packets using Computer-List. Continuous computers cannot be separated by intermediate gateway (routing strict source) IP allowed to 9. -w Timeout specifies a time division, in milliseconds. Destination-list Specifies a remote computer to be ping.

RCP replicates files between Windows 2000 Computers and Running Remote Housing Port Monitor RSHD. The RCP command is a connection command that can also be used to replicate files between two running RSHDs from the Windows 2000 computers. The RSHD port monitor can be used on UNIX computers, but cannot be used on Windows 2000, so Windows 2000 computer can only be used as a system that issues a command. Remote computers must also provide RCP utilities by running RSHD. RCP [-a | -b] [-h] [-r] Source1 Source2 ... Sourceen Destination Parameters -A Specifies the ASCII transmission mode. This mode converts the carriage return / chamber to the carriage return on the outgoing file, and converts the lunar into the carriage return / wrap in the incoming file. This mode is the default transmission mode. -b Specifies the binary image transfer mode. No carriage return / commissioning conversion is performed. -H Transfer Source files marked as hidden properties on a Windows 2000 computer. If there is no such option, the effect of specifying the hidden file on the RCP command line is not the same as the file. -r Cut all the subdirectories of the source to the target. Source and Destination must be a directory, although even if the source is not a directory, use -r can also work. But there will be no recursive. The Source and Destination format must be [Computer [.user]: FileName. If the [Computer [.user]:] section is ignored, the computer will assume a local computer. If the [.User] section is omitted, the currently logged in Windows 2000 username will be used. If a fully qualified computer name is used, in which [.user] must be included in [.User]. Otherwise, the last part of the computer name will be interpreted as the username. If multiple source files are specified, Destination must be a directory. If the file name is not headed by UNIX's forward slash (/) or the backslash (/) of the Windows 2000 system, it is assumed to be relative to the current working directory. In Windows 2000, this is a directory that issues a command. In the remote system, this is the login directory of the remote user. The period (.) Represents the current directory. Use escape characters (/, "or ') in the remote path to use wildcards in remote computers .Rexec runs commands on remote computers running Rexec services .Rexec commands before performing the specified command, verify the user on the remote computer Name, only after the TCP / IP protocol is installed .Rexec Computer [-l username] [-n] Command Parameters Computer Specifies the remote computer to run the Command. -Low UserName Specifies the username on the remote computer. R Redirect Rexec to Null.command Specify the command to run. ROUTE control network routing table. This command can only be used after the TCP / IP protocol is installed. ROUTE [-f] [-p] [Command [ Destination] [Mask SubnetMask] [Gateway] [Gateway] [Gateway] Parameter -f Clears the routing table of all gateway entry. If this parameter is used in combination with a command, the routing table will be cleared before the command is run. -p This parameter and add When the command is used, the route will last over the system boot program. By default, the system does not retain the route when the system is restarted. When used with the print command, the registered persistent routing list is displayed. Improving all other always impacts The corresponding persistent route command. Command specifies one of the following commands. Command Purpose Print Print Routing Add Add Routing Delete Remove Routing Change Change Now the exit Routed Destination Specifies a computer that sends a Command.

Mask SubnetMask specifies the subnet mask associated with the route entry. If not specified, 255.255.255.255 will be used. Gateway specifies the gateway. A network database file called Networks and a computer name database file named Hosts references the symbol names used by Destination or Gateway. If the command is Print or delete, the target, and gateways can also use wildcards, and the gateway parameters can be omitted. Metric CostMetric assigns the number of integer hops (from 1 to 9999) to calculate the fastest, most reliable and / or cheapest route. RSH Runs the command on the remote computer running the RSH service. This command can only be used after the TCP / IP protocol is installed. RSH computer [-l username] [-n] Command Parameters Computer Specifies the remote computer running Command. -l username Specifies the username used on remote computers. If omitted, use the login username. -n redirects the input of the RSH to NULL. Command specifies the command to run. TFTP transmits files to remote computers that are running the TFTP service or transmit files from a remote computer that is running a TFTP service. This command can only be used after the TCP / IP protocol is installed. TFTP [-i] Computer [GET | PUT] Source [Destination] Parameters -i Specify binary image transfer mode (also known as "eight bytes"). In binary image mode, the file is one byte to move by one byte. Use this mode when transferred binary files. If the -i is omitted, the file will be transmitted in ASCII mode. This is the default transmission mode. This mode converts the EOL character to UNIX's carriage return and a host computer's carriage return / wrap. This mode should be used when sending a text file. If the file transfer is successful, the data transfer rate will be displayed. Computer Specifies local or remote computers. PUT transmits the file Destination on the local computer to the file Source on the remote computer. GET transmits Destination on the remote computer to the file Source on the local computer. If you transfer file file-two on your local computer to file file-one on a remote computer, specify PUT. If you transfer file File-Two on a remote computer to file file-one on a remote computer, specify GET. Because the TFTP protocol does not support user authentication, the user must log in, and the file must be written on the remote computer. Source Specifies the files to be transferred. If the local file is specified -, the remote file is printed on stdout (if obtained), or read from stdin. Destination Specifies the location of transferring files. If Destination is omitted, it will assume that the same name is in the Source. Tracert This diagnostic utility will send the Internet Control Message Protocol (ICMP) that contains different survival time (TTL) values ​​to the target to determine the route used by the target. To deliver at least 1, the TTL is a valid hop count before the TTL of the forwarding packet is forwarded. When the TTL on the packet arrives at 0, the router should send the "ICMP timeout" message back source. Tracert first sends a TTL to 1 echo packet and increment TTL at a subsequent delivery process, until the target response or TTL reaches the maximum value, thereby determining the route. Routing determines the route by checking the "ICMP timeout" message sent back to the intermediate router. However, some routers quietly down through packets that contain expired TTL values, and Tracert can't see.

转载请注明原文地址:https://www.9cbs.com/read-11387.html

New Post(0)