SetGreInterface method of the PS_VpnS2SInterface class
Modifies a GRE interface.
Syntax
static uint32 SetGreInterface(
[in] string Name,
[in] uint32 GreKey,
[in] string Destination[],
[in] boolean AdminStatus,
[in] uint32 EnableQoS,
[in] uint64 TxBandwidthKbps,
[in] uint64 RxBandwidthKbps,
[in] string IPv4Subnet[],
[in] string IPv6Subnet[],
[in] boolean PassThru,
[in] boolean InternalIPv4,
[in] boolean InternalIPv6,
[in] string IPv4Address,
[in] string IPv6Address,
[in] string SourceIpAddress,
[in] boolean Force,
[in] boolean GreTunnel,
[out] VpnS2SInterface cmdletOutput
);
Parameters
-
Name [in]
-
The name of the connection.
-
GreKey [in]
-
The GRE key for this interface.
-
Destination [in]
-
The destination end-point of the S2S connection.
-
AdminStatus [in]
-
The admin status of the cmdlet.
-
EnableQoS [in]
-
Whether QoS is enabled on the interface.
-
TxBandwidthKbps [in]
-
The transmit bandwidth limit for the interface, in kbps.
-
RxBandwidthKbps [in]
-
The receive bandwidth limit for the interface, in kbps.
-
IPv4Subnet [in]
-
The IPv4 subnet that is routed on this connection.
-
IPv6Subnet [in]
-
The IPv6 subnet that is routed on this connection.
-
PassThru [in]
-
Set True to return the object or objects on which the operation is done.
-
InternalIPv4 [in]
-
Specifies Negotiation of IPv4 Address.
-
InternalIPv6 [in]
-
Specifies Negotiation of IPv6 Address.
-
IPv4Address [in]
-
The IPv4 address for this interface.
-
IPv6Address [in]
-
The IPv6 address for this interface.
-
SourceIpAddress [in]
-
The source IP address for this interface.
-
Force [in]
-
Set True to perform the operation without requesting confirmation.
-
GreTunnel [in]
-
TBD
-
cmdletOutput [out]
-
The cmdlet output.
Requirements
Minimum supported client |
None supported |
Minimum supported server |
Windows Server 2016 |
Namespace |
Root\Microsoft\Windows\RemoteAccess |
MOF |
|
DLL |
|