Microsoft Windows [Version 6.1.7000] (C) Copyright 2009 Microsoft Corp. C:\Windows>netsh interface ipv4 set interface ?
Usage: set interface [interface=][[forwarding=]enabled|disabled][[advertise=]enabled|disabled][[mtu=]][[siteid=]][[metric=]automatic|][[firewall=]enabled|disabled][[siteprefixlength=]][[nud=]enabled|disabled][[basereachabletime=]][[retransmittime=]][[dadtransmits=]][[routerdiscovery=]enabled|disabled|dhcp][[managedaddress=]enabled|disabled][[otherstateful=]enabled|disabled][[weakhostsend=]enabled|disabled][[weakhostreceive=]enabled|disabled][[ignoredefaultroutes=]enabled|disabled][[advertisedrouterlifetime=]<0-65535>][[advertisedefaultroute=]enabled|disabled][[currenthoplimit=]<0-255>][[store=]active|persistent][[forcearpndwolpattern=]enabled|disabled][[enabledirectedmacwolpattern=]enabled|disabled]
Parameters:
Tag Value
interface - Interface name or index.
forwarding - Whether packets arriving on this interface can
be forwarded to other interfaces.
advertise - Whether router advertisments are to be sent on
this interface. The default is disabled.
mtu - The MTU of this interface. The default is the
natural MTU of the link.
siteid - The Site-id can no longer be configured from netsh.
metric - Interface metric, added to route metrics for
all routes over the interface.
firewall - The Firewall can no longer be configured from netsh.
siteprefixlength - Default length of global prefix for the site.
nud - Whether neighbor unreachability detection is
enabled. Default depends on type of interface.
basereachable - Base reachable time (in ms).
retransmittime - Retransmit time (in ms).
dadtransmits - Number of duplicate address detection transmits.
routerdiscovery - Can be enabled, disabled, or controlled by DHCP.
managedaddress - Whether managed address configuration is
enabled.Setting this parameter will have no
effect on an interface that has router discovery
enabled & advertising disabled. In that case the
parameter is controlled by router discovery.
otherstateful - Whether other stateful configuration is enabled.
Setting this parameter will have no effect on an
interface that has router discovery enabled &
advertising disabled. In that case the
parameter is controlled by router discovery.
weakhostsend - Whether weak host sends are enabled.
weakhostreceive - Whether weak host receives are enabled.
ignoredefaultroutes - Ignores default routes on the interface. Default: Disabled
advertisedrouterlifetime- Router lifetime (in seconds).Default is 1800.
advertisedefaultroute- Whether interface will be advertised as default router.
currenthoplimit - Hop limit in outbound traffic.
store - active: Set only lasts until next boot.
persistent: Set is persistent.
forcearpndwolpattern - Whether address resolution and neighbor
discovery packet patterns are configured to
wake up the machine.
enabledirectedmacwolpattern - Whether directed MAC packet patterns are
configured to wake up the machine.
Remarks: Modifies interface configuration parameters.
Example:
set interface "1" metric=2 forwarding=enabled store=active