net start dhcp client net start simple tcp/ip services
net start ftp server net start snmp
net start lpdsvc net start tcp/ip netbios helper
net start microsoft dhcp server net start windows internet name service
The TCP/IP utilities offer network connections to non-Microsoft computers such as UNIX workstations. You must have the TCP/IP network protocol installed to use the TCP/IP utilities.
net (command options)
net accounts Server roles cannot be set. Windows NT security controls lockout.
net computer This new command allows you to add or delete computers from a domain database. This command is available only on computers running Windows NT Server.
net continue Use printer property sheets to control printing. See net pause in this table for the list of pausable services that can be continued.
net file Displays the names of all open shared files on a server
net group Adds, displays, or modifies global groups on Windows NT Server. Net group manages global groups and is only for computers that are members of a domain.
net helpmsg Displays help about a network error message
net localgroup This new command manages local groups.
net pause You can pause these network services: file server for macintosh and remoteboot (Windows NT Server only), ftp publishing service, lpdsvc, net logon, network dde, network dde dsdm, nt lm security support provider, remote access server, schedule, server, simple tcp/ip services, or workstation.Use printer property sheets to manage printers
net print Use printer property sheets to manage printers. (Right-click on a printer and click Properties.)
net send Sending files is not supported. The /broadcast switch is not supported.
net share Remote administration is automatic. Use printer property sheets to share printers. Comm queues are not supported in this release. Creates, deletes, or displays shared resources
net statistics Displays the statistics log. Peer functionality is an inherent part of Windows NT and no longer requires separate commands. The statistics log cannot be cleared.
net stop You can stop all network services except eventlog. See net start for a list of services that can be started and stopped.
net use The /persistent switch has only yes and no values. Comm queues are not supported in this release. You can use NetWare volumes.
net user Switches /logonserver, /maxstorage, /operator, and /privilege are not supported
net view Displays a list of servers or shared server resources. New switch /domain permits viewing of domains and viewing of computers in a specified domain
net config Peer functionality is inherent to Windows NT. Separate commands, such as net config peer are no longer required.
net config server Most network services are self-configuring. The switches /autodisconnect, /srvcomment, and /hidden can be configured. The switch /srvhidden is now /hidden.
net config workstation Most network services are self-configuring. The switches /charcount, /chartime, and /charwait can be configured.
net start You can start these network services: alerter, client service for netware, clipbook server, computer browser, dhcp client, directory replicator, eventlog, ftp publishing service, lpdsvc, messenger, net logon, network dde, network dde dsdm, network monitor agent, nt lm security support provider, ole, remote access connection manager, remote access isnsap service, remote access server, remote procedure call (rpc) locator, remote procedure call (rpc) service, schedule, server, simple tcp/ip services, snmp, spooler, tcp/ip netbios helper, ups, and workstation.
These services are available only on Windows NT Server: file server for macintosh, gateway service for netware, microsoft dhcp server, print server for macintosh, remoteboot, windows internet name service. Note that services can be configured to start automatically.
net start alerter Self-configuring.
net start eventlog This new service logs any significant system, security, and application occurrences that require users to be notified.
net start messenger Self-configuring.
net start net logon Self-configuring.
net start directory replicator Use Server Manager to configure the Replicator service.
net start server Use Server Manager to configure the Server service.
net start snmp New options permit logging.
net start workstation The Workstation is configured at setup and in various applications.
ipxroute New command supports routing for the NWLink protocol on a token-ring network
at In addition to local scheduling, you can remotely schedule events on a computer.
This diagnostic command displays all current TCP/IP network configuration values. This command is of particular use on systems running DHCP, allowing users to determine which TCP/IP configuration values have been configured by DHCP.
ipconfig [/all | /renew [adapter] | /release [adapter]]
Produces a full display. Without this switch, ipconfig displays only the IP address, subnet mask, and default gateway values for each network card.
Renews DHCP configuration parameters. This option is available only on systems running the DHCP Client service. To specify an adapter name, type the adapter name that appears when you use ipconfig without parameters.
Releases the current DHCP configuration. This option disables TCP/IP on the local system and is available only on DHCP clients. To specify an adapter name, type the adapter name that appears when you use ipconfig without parameters.
With no parameters, the ipconfig utility presents all of the current TCP/IP configuration values to the user, including IP address and subnet mask. This utility is especially useful on systems running DHCP, allowing users to determine which values have been configured by DHCP.
Prints the name of the current computer (host). This command is available only if the TCP/IP protocol has been installed.
Displays and modifies information about the routing tables used by the IPX protocol. The command has different options for IPX routing and for source routing. Separate all options with spaces.
IPX Routing Options
ipxroute servers [/type=x]
ipxroute stats [/show] [/clear]
Displays the SAP table for the specified server type. x is an integer. For example, /type=4 displays all file servers. If no /type is specified, then servers of all types are shown. The list is sorted by server name.
stats [/show] [/clear]
Displays or clears IPX router interface statistics. /show is the default. /clear clears the statistics.
Displays the IPX routing table, sorted by network number.
Source Routing Optionsipxroute board=n [clear] [def] [gbr] [mbr] [remove=xxxxx]
Specifies the network adapter card for which to query or set parameters.
Clears the source routing table
Sends packets to the ALL ROUTES broadcast. If a packet is transmitted to a unique mac address that is not in the source routing table, the default is to send the packet to the SINGLE ROUTES broadcast.
Sends packets to the ALL ROUTES broadcast. If a packet is transmitted to the broadcast address (FFFFFFFFFFFF), the default is to send the packet to the SINGLE ROUTES broadcast.
Sends packets to the ALL ROUTES broadcast. If a packet is transmitted to a multicast address (C000xxxxxxxx), the default is to send the packet to the SINGLE ROUTES broadcast.
Removes the given node address from the source routing table.
Displays information on all the bindings for which IPX is configured.
This dianostic command displays protocol statistics and current TCP/IP connections using NBT (NetBIOS over TCP/IP). This command is available only if the TCP/IP protocol has been installed.
nbtstat [-a remotename] [-A IP address] [-c] [-n] [-R] [-r] [-S] [-s] [interval]
Lists the remote computer's name table using its name.
-A IP address
Lists the remote computer's name table using its IP address.
Lists the contents of the NetBIOS name cache giving the IP address of each name.
Lists local NetBIOS names. Registered indicates that the name is registered by broadcast (Bnode) or WINS (other node types).
Reloads the LMHOSTS file after purging all names from the NetBIOS name cache.
Lists name resolution statistics for Windows networking name resolution. On a Windows NT computer configured to use WINS, this option returns the number of names resolved and registered via broadcast or via WINS.
Displays both client and server sessions, listing the remote computers by IP address only.
Displays both client and server sessions. It attempts to convert the remote computer IP address to a name using the HOSTS file.
Redisplays selected statistics, pausing interval seconds between each display. Press CTRL+C to stop redisplaying statistics. If this parameter is omitted, nbstat prints the current configuration information once.
More Information About Nbtstat
Displays protocol statistics and current TCP/IP network connections. This command is available only if the TCP/IP protocol has been installed.
netstat [-a] [-e] [-n] [-s] [-p protocol] [-r] [interval]
Displays all connections and listening ports; server connections are normally not shown.
Displays Ethernet statistics. This may be combined with the -s option.
Displays addresses and port numbers in numerical form (rather than attempting name look-ups).
Displays per-protocol statistics. By default, statistics are shown for TCP, UDP, ICMP, and IP; the -p option may be used to specify a subset of the default.
Shows connections for the protocol specified by proto; proto may be tcp or udp
. If used with the -s option to display per-protocol statistics, proto may be tcp, udp, icmp, or ip.
Displays the contents of the routing table.
Redisplays selected statistics, pausing interval seconds between each display. Press CTRL+C to stop redisplaying statistics. If this parameter is omitted, netstat prints the current configuration information once.
More Information About Netstat
The Netstat utility provides statistics on the following network components.
The IP address and port number of the remote computer to which the socket is connected. The name corresponding to the IP address is shown instead of the number if the HOSTS file contains an entry for the IP address. In cases where the port is not yet established, the port number is shown as an asterisk (*).
The IP address of the local computer, as well as the port number the connection is using. The name corresponding to the IP address is shown instead of the number if the HOSTS file contains an entry for the IP address. In cases where the port is not yet established, the port number is shown as an asterisk (*).
The name of the protocol used by the connection.
Indicates the state of TCP connections only. The possible states are
CLOSED FIN_WAIT_1 SYN_RECEIVED
CLOSE_WAIT FIN_WAIT_2 SYN_SEND
ESTABLISHED LISTEN TIMED_WAIT
This diagnostic tool displays information from Domain Name System (DNS) name servers. Before using this tool, you should be familiar with how DNS works. Nslookup is available only if the TCP/IP protocol has been installed.
nslookup [-option ...] [computer-to-find | - [server]]
Nslookup has two modes: interactive and non-interactive.
If you only need to look up a single piece of data, use non-interactive mode. For the first argument, type the name or IP address of the computer to be looked up. For the second argument, type the name or IP address of a DNS name server. If you omit the second argument, the default DNS name server will be used.
If you need to look up more than one piece of data, you can use interactive mode. Type a hyphen (-) for the first argument and the name or IP address of a DNS name server for the second argument. Or, omit both arguments (the default DNS name server will be used).
Specifies one or more nslookup commands as a command-line option. For a list of commands, see Nslookup Commands. Each option consists of a hyphen (-) followed immediately by the command name and, in some cases, an equal sign (=) and then a value. For example, to change the default query type to host (computer) information and the initial timeout to 10 seconds, you would type:
nslookup -querytype=hinfo -timeout=10
The command line length must be less than 256 characters.
Look up information for computer-to-find using the current default server or using server if specified. If computer-to-find is an IP address and the query type is A or PTR, the name of the computer is returned. If computer-to-find is a name and does not have a trailing period, the default DNS domain name is appended to the name. (This behavior depends on the state of the set options: domains, srchlist, defname, and search.) To look up a computer not in the current DNS domain, append a period to the name.
If you type a hyphen (-) instead of computer-to-find, the command prompt changes to nslookup interactive mode.
Use this server as the DNS name server. If you omit server, the default DNS name server is used.
More Information About Nslookup
Nslookup: set all
Nslookup: set cl[ass]
Nslookup: set [no]deb[ug]
Nslookup: set [no]d2
Nslookup: set [no]def[name]
Nslookup: set do[main]
Nslookup: set [no]ig[nore]
Nslookup: set po[rt]
Nslookup: set q[uerytype]
Nslookup: set [no]rec[urse]
Nslookup: set ret[ry]
Nslookup: set ro[ot]
Nslookup: set [no]sea[rch]
Nslookup: set srchl[ist]
Nslookup: set ti[meout]
Nslookup: set ty[pe]
Nslookup: set [no]v[c]
Manipulates network routing tables. This command is available only if the TCP/IP protocol has been installed.
route [-f] [-p] [command [destination] [mask subnetmask] [gateway] [metric costmetric]]
Clears the routing tables of all gateway entries. If this is used in conjunction with one of the commands, the tables are cleared prior to running the command.
When used with the ADD command, makes a route persistent across boots of the system. By default, routes are not preserved when the system is restarted. When used with the PRINT command, displays the list of registered persistent routes. Ignored for all other commands, which always affect the appropriate persistent routes.
print Prints a route
add Adds a route
delete Deletes a route
change Modifies an existing route
destination Specifies the computer to send command.
mask subnetmask Specifies a subnet mask to be associated with this route entry. If not specified, 255.255.255.255 is used.
gateway Specifies gateway.
All symbolic names used for destination or gateway are looked up in the network and computer name database files NETWORKS and HOSTS, respectively. If the command is print or delete, wildcards may be used for the destination and gateway, or the gateway argument may be omitted.
Assigns an integer cost metric (ranging from 1 to 9999) to be used in calculating the fastest, most reliable, and/or least expensive routes.
Commands/ Command Reference