Tag Value interface - Interface name or index. forwarding - Whether packets arriving on this interface can be forwarded to other interfaces. The default is disabled. 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.The value specified is ignored. metric - Interface metric, added to route metrics for all routes over the interface. firewall - The Firewall can no longer be configured from netsh.The value specified is ignored. siteprefixlength - Default length of global prefix for the entire site. nud - Whether neighbor unreachability detection is enabled.The default depends on the type of the interface. basereachable - Base reachable time (in ms). retransmittime - Retransmit time (in ms). dadtransmits - Number of duplicate address detection transmits. routerdiscovery - Whether router discovery is 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 andadvertising disabled. For such an interface, 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 and advertising disabled. For such an interface, the parameter is controlled by router discovery . weakhostsend - Whether weak host sends are enabled . weakhostreceive - Whether weak host receives are enabled . ignoredefaultroutes - Ignores the default routes on the interface. This option is disabled by default . store - One of the following values: active: Set only lasts until next boot . persistent: Set is persistent .
set interface "1" metric=2 forwarding=enabled store= active
NETSH / INTERFACE / IPV4 / SET / INTERFACE
netsh interface ipv4 set interface - Windows Vista - commandModifies interface configuration parameters for IP. - Windows Vista netsh, interface, ipv4, set, interface, cmd, command, Windows, Vista