Syntax pattern from Microsoft Learn; replace placeholders and choose only one documented alternative before use.
netsh ipsec [dump | dynamic | help | static | ?]The `netsh ipsec` command is used to configure and manage Internet Protocol Security (IPsec) policies and settings. This guide lists the documented syntax and parameters for netsh ipsec; check Microsoft Learn for version, role and execution-context requirements.
netsh ipsec [dump | dynamic | help | static | ?]
netsh ipsec dynamic add mmpolicy [name=]<string> [qmpermm=]<integer> [mmlifetime=]<integer> [softsaexpirationtime=]<integer> [mmsecmethods=](sec#1 sec#2 ... sec#n)
netsh ipsec dynamic add qmpolicy [name=]<string> [soft=](yes|no) [pfsgroup=](GRP1|GRP2|GRP3|GRPMM|NOPFS) [qmsecmethods=](neg#1 neg#2 ... neg#n)
netsh ipsec dynamic add rule [srcaddr=](ipv4|ipv6|ipv4-ipv4|ipv6-ipv6|dns|server) [dstaddr=](ipv4|ipv6|ipv4-ipv4|ipv6-ipv6|dns|server)The linked Microsoft Learn article is the upstream authority. Availability may depend on Windows release, role, optional feature or interactive tool context.
Syntax pattern from Microsoft Learn; replace placeholders and choose only one documented alternative before use.
netsh ipsec [dump | dynamic | help | static | ?]| Option / clause | Description |
|---|---|
<string> | Microsoft documents this argument or subcommand; check the linked reference for its required format and context. |
<integer> | Microsoft documents this argument or subcommand; check the linked reference for its required format and context. |
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.