You can use commands in the Netsh local area network (LAN) context to configure and manage 802.3 wired Ethernet connectivity and security settings for computers that connect to Institute of Electrical and Electronics Engineers (IEEE) 802.1X authenticated wired Ethernet networks. Additionally, you can use Netsh LAN commands to display information such as network adapter drivers, network profiles, applied filters, and more.

To run these commands from the command prompt, you must either enter the Netsh LAN context or prepend the context to the command. You can enter the Netsh LAN context by typing netsh and pressing ENTER, and then typing lan and pressing ENTER. Alternately, if you are at the command prompt but have not entered the Netsh LAN context, you can type:

netsh lan command

Where command is the command that you want to run, including all of the required parameters for the command.

Section Heading

The following section provides Netsh commands for LAN in Windows Server® 2008 and Windows Server® 2008 R2.

Note
Unless otherwise noted, the Netsh LAN commands documented in this reference provide the same level of functionality for all computers running Windows Server® 2008 R2, Windows® 7, Windows Server® 2008, and Windows Vista®.