System command

netsh interface command

This guide gathers the Microsoft Learn syntax and parameter reference for netsh interface, a Windows command or tool subcommand. Availability can depend on Windows version, role, optional feature and execution context.

Availability: Microsoft Learn command reference spanning Windows client and Windows Server releases; some entries are legacy, role-specific, optional-feature or interactive subcommands.中文

Documented syntax

netsh interface [6to4 | clat | dump | fl48 | fl68 | help | httpstunnel | ipv4 | ipv6 | isatap | portproxy | set | show | tcp | teredo | udp | ?]

The linked Microsoft Learn article is the upstream authority. Availability may depend on Windows release, role, optional feature or interactive tool context.

Syntax pattern

Syntax pattern from Microsoft Learn; replace placeholders and choose only one documented alternative before use.

netsh interface [6to4 | clat | dump | fl48 | fl68 | help | httpstunnel | ipv4 | ipv6 | isatap | portproxy | set | show | tcp | teredo | udp | ?]

Parameters, options and clauses

Option / clauseDescription
6to4, clat, httpstunnel, isatap, teredoOpen tunneling or transition technology contexts.
ipv4, ipv6Configure and inspect IPv4 or IPv6 addresses, routes, DNS, neighbors and interface settings.
portproxyConfigure TCP port proxy rules.
tcp, udpView or configure TCP and UDP global settings and statistics.
dumpExport the current context configuration as a script.
show, setInspect or change supported context settings; exact subcommands vary by context.
help, ?Display available contexts or context help.
fl48Microsoft documents this argument or subcommand; check the linked reference for its required format and context.
fl68Microsoft documents this argument or subcommand; check the linked reference for its required format and context.
?Microsoft documents this argument or subcommand; check the linked reference for its required format and context.
Safety note

Review a command and its target before running it. Commands that alter files, services, accounts, disks, permissions or databases may be difficult to reverse. Test in a safe environment and keep backups.

Official reference ↗Back to directory