Site hosted by Angelfire.com: Build your free website today!

Windows Networking Commands


The following works in NT, 2000, XP and .NET

For more information about specific Microsoft NET commands, type the command name followed by /? at the Command Prompt or use Help
(for example, NET VIEW /?). 


NET ACCOUNTS 
Updates the user accounts database and modifies password and logon requirements.

NET COMPUTER 
Adds, deletes computers from domain database.

NET CONFIG 
Displays your current workgroup settings.

NET CONFIG SERVER 
Displays or changes settings for the server service.

NET CONFIG WORKSTATION 
Displays or changes settings for the workstation service.

NET CONTINUE 
Reactivates suspended services.

NET FILE 
Displays the names or closes all open files.

NET GROUP 
Adds, displays, modifies global group properties (domain controllers only).

NET HELP 
Provides information about commands and error messages.

NET HELPMSG 
Provides error message help.

NET LOCALGROUP 
Adds, displays, modifies local group properties.

NET NAME 
Adds or deletes a messaging name or displays the list of names the computer will accept messages for.

NET PAUSE 
Pauses services.

NET PRINT 
Displays information about print queues and controls print jobs.

NET SEND 
Sends messages to other users or computers on the network.

NET SESSION 
Lists, disconnects sessions between local computer and connected computers.

NET SHARE 
Creates, deletes, displays shared resources

NET START 
Starts services.

NET STATISTICS 
Displays the statistics logs for the local Workstation or Server Service.

NET STOP 
Stops services.

NET TIME 
Displays the time on or synchronizes your computer's clock with the clock on a Microsoft Windows for Workgroups, Windows NT, Windows 95, or 
NetWare time server.

NET USE 
Connects to or disconnects from a shared resource or displays information about connections.

NET USER 
Add/Delete users.

NET VIEW 
Displays a list of computers that share resources or a list of shared resources on a specific computer. 

===========================================================================================

Using the IP multicasting utilities

IP multicasting utilities in Windows 2000 consists of the following:

The mrinfo command. 
Netsh support for multicast troubleshooting. 
Support for the mtrace command. 
The mrinfo command
Windows 2000 includes the mrinfo command that displays the configuration of a multicast router. You can use the configuration information 
to aid in the troubleshooting of multicast forwarding and routing problems.

The mrinfo command queries a specified multicast router with an Internet Group Management Protocol (IGMP) message. The response to the 
query contains a version number, the list of interfaces and the neighbors on each interface, metrics, Time to Live (TTL) thresholds, and 
flags. The syntax of the mrinfo command is:

mrinfo [-n] [ -i address ] [ -r retry_count ] [ -t timeout_count ] multicast_router 
The -n option displays IP addresses in numeric format. 
The -i option specifies the IP address of the interface from which you want to send the mrinfo query. By default, the interface from which 
to send the mrinfo query is determined by the IP routing table. 
The -r option specifies the neighbor query retry limit. The default value is 3. 
The -t option specifies how long in seconds mrinfo waits for a neighbor query reply. The default value is 4. 
The following is an example of the mrinfo command:


C:\>mrinfo 10.1.0.1
10.1.0.1 (test1.ntdev.microsoft.com) [version 18.55,mtrace,snmp]:
10.1.0.1 -> 0.0.0.0 (local) [1/0/querier/leaf]
10.2.0.1 -> 10.2.0.2 (test2.ntdev.microsoft.com) [1/0]
10.2.0.1 -> 10.2.0.3 (test3.ntdev.microsoft.com) [1/0]
10.3.0.1 -> 0.0.0.0 (local) [1/0/querier/leaf]
In the above example, mrinfo is run against the multicast router at 10.1.0.1. The first line shows the multicast router configuration: 

version number (for Windows 2000 routers, the version number reflects the build number of Windows 2000) and flags 

(mtrace and snmp supported).

Each additional line displays the interfaces on the multicast router and the neighbors on each interface. Interfaces 10.1.0.1 and 10.3.0.1 

have no neighbors. Interface 10.2.0.1 has two neighbors, 10.2.0.2 and 10.2.0.3. For each line, mrinfo displays the interface and neighbor, 

the domain name for the neighbor, the multicast routing metric, the TTL threshold, and flags indicating its role on the network such as 

the IGMP querier of the network (querier) or whether it has no neighbors (leaf).

For more information on the mrinfo command and other commands and methods of gathering information to troubleshoot multicast routing and 

forwarding problems, see the "Multicast Debugging Handbook" Internet draft (draft-ietf-mboned-mdh-0x.txt).

For information about obtaining Internet drafts, see Routing RFCs

Netsh support for multicast troubleshooting
To view multicast tables and gather information to aid in the troubleshooting of multicast routing and forwarding problems, you can use the 

following netsh commands:

netsh routing ip show mfe 
Displays the entries in the multicast forwarding table. This is equivalent to the Multicast Forwarding Table available in Routing and 
Remote Access. To view the Multicast Forwarding Table from within Routing and Remote Access, under IP Routing, right-click General, and 
then click Show Multicast forwarding table.

netsh routing ip show mfestats 
Displays packet statistics and input and output interface information for multicast forwarding entries in the multicast forwarding table. 
This is equivalent to the Multicast Statistics table available in Routing and Remote Access. To view the Multicast Statistics table from 
within Routing and Remote Access, under IP Routing, right-click General, and then click Show Multicast statistics.

netsh interface ip show joins 
Displays the multicast groups locally joined on each interface.

Support for the mtrace command
Although Windows 2000 does not provide a version of the Mtrace multicasting utility, the Windows 2000 multicast router does respond to 
mtrace command queries from other Mtrace utilities.

 

Note:  I work extensively with IP Multicast.  I use netsh command on a regular basis when I troubleshoot IP Multicast problems.  

This is page is a personal note for myself when I'm working with Windows machines.  Use these notes at your own risk.

Enjoy!!!

Carlo Reyes

Home