Export (0) Print
Expand All

Netsh Commands for Network Bridge

Updated: February 8, 2008

Applies To: Windows Server 2008

For adapters that are part of the Network Bridge, you can use commands in the netsh bridge context to enable or disable Layer 3 compatibility mode and show configuration information for these adapters.

CautionCaution
Use caution when enabling the Network Bridge component in Windows®. It causes a computer attached to two or more networks to rebroadcast all traffic from each network to the others that are part of the bridge. This can be a significant security risk if you enable the bridge on a computer that contains a network adapter attached to your private LAN and another adapter that is connected to the Internet.

You can run these commands from the command prompt on a computer running Microsoft® Windows Vista® or Windows Server® 2008 from the netsh bridge context. To successfully run these commands at the command prompt on a computer running Windows Server 2008, you must type netsh bridge before typing the commands and parameters as they appear in this topic.

For more information about netsh, see Netsh Overview and Enter a Netsh Context.

To view the command syntax, click a command:

For information on how to interpret netsh command syntax, see Formatting Legend.

This command lists all of the adapters that are part of Network Bridge and provides adapter ID numbers, friendly names, and the state of the Layer 3 compatibility mode that corresponds to each adapter.

Show adapter [[id=] AdapterID ]

id=
Optional. Specifies the information to display for a specific adapter.

There are no additional remarks for this command.

  • show adapter

  • show adapter id=”Local Area Connection”

This command modifies the configuration of a specified adapter that is part of Network Bridge by setting the state of the adapter to either enable or disable network layer (Layer 3) compatibility mode.

set adapter [id=] AdapterID [forcecompatmode=]{enable | disable}

id
Required. Specifies which adapter that is part of Network Bridge to configure.

forcecompatmode
Required. Specifies whether Layer 3 mode compatibility is enabled or disabled for the specified adapter.

This command should be run only if an enabled Network Bridge does not forward network traffic to all network segments. This condition can exist if one or more network adapters (typically wireless) included in the bridge do not support promiscuous mode.

For more information about determining adapter ID values, see show adapter.

The install and uninstall commands are not supported in the netshbridge context. Network Bridge can be set up or removed only through Network Connections.

  • set adapter id=”Local Area Connection 2” forcecompatmode=enable

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft