Set-RemoteAccessRoutingDomain

Set-RemoteAccessRoutingDomain

Configures S2S VPN settings for a routing domain configuration.

구문

Parameter Set: EncryptionType
Set-RemoteAccessRoutingDomain [-Name] <String> [-AsJob] [-CimSession <CimSession[]> ] [-DnsIPAddress <IPAddress[]> ] [-EnableQoS <EnableQoS> ] [-EncryptionType <String> ] [-Force] [-InterimAccountingPeriodSec <UInt32> ] [-IPAddressRange <String[]> ] [-IPv6Prefix <String> ] [-MaximumVpnConnections <UInt32> ] [-NetBiosIPAddress <IPAddress[]> ] [-PassThru] [-RxBandwidthKbps <UInt64> ] [-TenantName <String[]> ] [-ThrottleLimit <Int32> ] [-TxBandwidthKbps <UInt64> ] [ <CommonParameters>]

Parameter Set: CustomPolicy
Set-RemoteAccessRoutingDomain [-Name] <String> -CustomPolicy [-AsJob] [-AuthenticationTransformConstant <AuthenticationTransformConstant> ] [-CimSession <CimSession[]> ] [-CipherTransformConstant <CipherTransformConstant> ] [-DHGroup <DHGroup> ] [-DnsIPAddress <IPAddress[]> ] [-EnableQoS <EnableQoS> ] [-EncryptionMethod <EncryptionMethod> ] [-Force] [-IdleDisconnectSec <UInt32> ] [-IntegrityCheckMethod <IntegrityCheckMethod> ] [-InterimAccountingPeriodSec <UInt32> ] [-IPAddressRange <String[]> ] [-IPv6Prefix <String> ] [-MaximumVpnConnections <UInt32> ] [-NetBiosIPAddress <IPAddress[]> ] [-PassThru] [-PfsGroup <PfsGroup> ] [-RxBandwidthKbps <UInt64> ] [-SaLifeTimeSec <UInt32> ] [-SaRenegotiationDataSizeKB <UInt32> ] [-TenantName <String[]> ] [-ThrottleLimit <Int32> ] [-TxBandwidthKbps <UInt64> ] [ <CommonParameters>]

자세한 설명

The Set-RemoteAccessRoutingDomain cmdlet configures site to site (S2S) virtual private network (VPN) settings for a routing domain.

매개 변수

-AsJob

별칭

없음

필수 여부

false

위치

named

기본값

없음

파이프라인 입력 적용 여부

false

와일드카드 문자 허용 여부

false

-AuthenticationTransformConstant<AuthenticationTransformConstant>

Specifies a transform constant. 이 매개 변수에 허용되는 값은 다음과 같습니다.

-- MD596
-- SHA196
-- SHA256128
-- GCMAES128
-- GCMAES192
-- GCMAES256
-- None

별칭

없음

필수 여부

false

위치

named

기본값

2

파이프라인 입력 적용 여부

True (ByPropertyName)

와일드카드 문자 허용 여부

false

-CimSession<CimSession[]>

원격 세션에서 또는 원격 컴퓨터에서 cmdlet을 실행합니다. New-CimSession 또는 Get-CimSession cmdlet의 출력과 같은 컴퓨터 이름이나 세션 개체를 입력합니다. 기본값은 로컬 컴퓨터의 현재 세션입니다.

별칭

Session

필수 여부

false

위치

named

기본값

없음

파이프라인 입력 적용 여부

false

와일드카드 문자 허용 여부

false

-CipherTransformConstant<CipherTransformConstant>

Specifies a cipher transform constant. 이 매개 변수에 허용되는 값은 다음과 같습니다.

-- DES
-- DES3
-- AES128
-- AES192
-- AES256
-- GCMAES128
-- GCMAES192
-- GCMAES256
-- None

별칭

없음

필수 여부

false

위치

named

기본값

1

파이프라인 입력 적용 여부

True (ByPropertyName)

와일드카드 문자 허용 여부

false

-CustomPolicy

Indicates that the interface uses custom Internet Key Exchange (IKE) IPsec policies.

별칭

없음

필수 여부

true

위치

named

기본값

없음

파이프라인 입력 적용 여부

false

와일드카드 문자 허용 여부

false

-DHGroup<DHGroup>

Specifies the Diffie-Hellman (DH) group for the IKE policy. 이 매개 변수에 허용되는 값은 다음과 같습니다.

-- None
-- Group1
-- Group2
-- Group14
-- ECP256
-- ECP384
-- Group24

별칭

없음

필수 여부

false

위치

named

기본값

2

파이프라인 입력 적용 여부

True (ByPropertyName)

와일드카드 문자 허용 여부

false

-DnsIPAddress<IPAddress[]>

Specifies an array of IP addresses.

별칭

없음

필수 여부

false

위치

named

기본값

없음

파이프라인 입력 적용 여부

True (ByPropertyName)

와일드카드 문자 허용 여부

false

-EnableQoS<EnableQoS>

Indicates whether to enable Quality of Service (QoS) on an interface. 이 매개 변수에 허용되는 값은 다음과 같습니다.

-- Enabled
-- Disabled

별칭

없음

필수 여부

false

위치

named

기본값

없음

파이프라인 입력 적용 여부

True (ByValue, ByPropertyName)

와일드카드 문자 허용 여부

false

-EncryptionMethod<EncryptionMethod>

Specifies the encryption method for IKE policy. 이 매개 변수에 허용되는 값은 다음과 같습니다.

-- DES
-- DES3
-- AES128
-- AES192
-- AES256

별칭

없음

필수 여부

false

위치

named

기본값

4

파이프라인 입력 적용 여부

True (ByPropertyName)

와일드카드 문자 허용 여부

false

-EncryptionType<String>

Specifies the type of encryption. 이 매개 변수에 허용되는 값은 다음과 같습니다.

-- NoEncryption
-- RequireEncryption
-- OptionalEncryption
-- MaximumEncryption

별칭

없음

필수 여부

false

위치

named

기본값

RequireEncryption

파이프라인 입력 적용 여부

True (ByPropertyName)

와일드카드 문자 허용 여부

false

-Force

사용자 확인을 요구하지 않고 명령을 실행합니다.

별칭

없음

필수 여부

false

위치

named

기본값

없음

파이프라인 입력 적용 여부

false

와일드카드 문자 허용 여부

false

-IdleDisconnectSec<UInt32>

Specifies the time interval, in seconds, after which an idle connection is disconnected. Unless you disable idle timeout, an idle connection is disconnected after this time interval is exceeded.

별칭

없음

필수 여부

false

위치

named

기본값

300

파이프라인 입력 적용 여부

True (ByPropertyName)

와일드카드 문자 허용 여부

false

-IntegrityCheckMethod<IntegrityCheckMethod>

Specifies an integrity check method for the IPsec policy. 이 매개 변수에 허용되는 값은 다음과 같습니다.

-- MD5
-- SHA1
-- SHA256
-- SHA384

별칭

없음

필수 여부

false

위치

named

기본값

2

파이프라인 입력 적용 여부

True (ByPropertyName)

와일드카드 문자 허용 여부

false

-InterimAccountingPeriodSec<UInt32>

Specifies a time interval, in seconds, for interim accounting.

별칭

없음

필수 여부

false

위치

named

기본값

없음

파이프라인 입력 적용 여부

True (ByPropertyName)

와일드카드 문자 허용 여부

false

-IPAddressRange<String[]>

Specifies an array of IP addresses to allocate to VPN clients. The array consists of a beginning IP address and an ending IP address.

별칭

없음

필수 여부

false

위치

named

기본값

없음

파이프라인 입력 적용 여부

True (ByPropertyName)

와일드카드 문자 허용 여부

false

-IPv6Prefix<String>

Specifies the IPv6 prefix used for IPv6 address assignment.

별칭

없음

필수 여부

false

위치

named

기본값

fe80::/64

파이프라인 입력 적용 여부

True (ByPropertyName)

와일드카드 문자 허용 여부

false

-MaximumVpnConnections<UInt32>

Specifies the maximum number of concurrent VPN connections.

별칭

없음

필수 여부

false

위치

named

기본값

100

파이프라인 입력 적용 여부

True (ByPropertyName)

와일드카드 문자 허용 여부

false

-Name<String>

Specifies the name of a routing domain.

별칭

RoutingDomainName,RoutingDomain

필수 여부

true

위치

1

기본값

null

파이프라인 입력 적용 여부

True (ByPropertyName)

와일드카드 문자 허용 여부

false

-NetBiosIPAddress<IPAddress[]>

Specifies an array of IP addresses for NetBIOS names.

별칭

없음

필수 여부

false

위치

named

기본값

없음

파이프라인 입력 적용 여부

True (ByPropertyName)

와일드카드 문자 허용 여부

false

-PassThru

작업하고 있는 항목을 나타내는 개체를 반환합니다. 기본적으로 이 cmdlet은 출력을 생성하지 않습니다.

별칭

없음

필수 여부

false

위치

named

기본값

없음

파이프라인 입력 적용 여부

false

와일드카드 문자 허용 여부

false

-PfsGroup<PfsGroup>

Specifies the PFS group in the IPsec policy.

-- PFS1
-- PFS2
-- PFS2048
-- ECP256
-- ECP384
-- PFSMM
-- PFS24

별칭

없음

필수 여부

false

위치

named

기본값

3

파이프라인 입력 적용 여부

True (ByPropertyName)

와일드카드 문자 허용 여부

false

-RxBandwidthKbps<UInt64>

Specifies the receive, or ingress, bandwidth limit, in kilobits per second (Kbps).

별칭

없음

필수 여부

false

위치

named

기본값

없음

파이프라인 입력 적용 여부

True (ByValue, ByPropertyName)

와일드카드 문자 허용 여부

false

-SaLifeTimeSec<UInt32>

Specifies the lifetime, in seconds, of a security association (SA). The SA is no longer valid after this time interval.

별칭

없음

필수 여부

false

위치

named

기본값

7200

파이프라인 입력 적용 여부

True (ByPropertyName)

와일드카드 문자 허용 여부

false

-SaRenegotiationDataSizeKB<UInt32>

Specifies the amount of data, in kilobytes (KB), that can be transferred using a security association (SA). When the limit is reached, the SA must be renegotiated.

별칭

없음

필수 여부

false

위치

named

기본값

10000

파이프라인 입력 적용 여부

True (ByPropertyName)

와일드카드 문자 허용 여부

false

-TenantName<String[]>

Specifies an array of tenant names.

별칭

없음

필수 여부

false

위치

named

기본값

없음

파이프라인 입력 적용 여부

True (ByPropertyName)

와일드카드 문자 허용 여부

false

-ThrottleLimit<Int32>

이 cmdlet을 실행하도록 설정할 수 있는 최대 동시 작업 수를 지정합니다. 이 매개 변수가 생략되거나 값 0이 입력되면 Windows PowerShell®은 컴퓨터에서 실행 중인 CIM cmdlet의 수에 따라 cmdlet에 대한 최적의 제한 한도를 계산합니다. 제한 한도는 현재 cmdlet에만 적용되며 세션이나 컴퓨터에는 적용되지 않습니다.

별칭

없음

필수 여부

false

위치

named

기본값

없음

파이프라인 입력 적용 여부

false

와일드카드 문자 허용 여부

false

-TxBandwidthKbps<UInt64>

Specifies a transmit, or egress, bandwidth limit, in Kbps, for the interface.

별칭

없음

필수 여부

false

위치

named

기본값

없음

파이프라인 입력 적용 여부

True (ByValue, ByPropertyName)

와일드카드 문자 허용 여부

false

<CommonParameters>

이 cmdlet은 일반 매개 변수 -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer 및 -OutVariable을 지원합니다. 자세한 내용은 다음을 참조하세요. about_CommonParameters(https://go.microsoft.com/fwlink/p/?LinkID=113216).

입력

입력 유형은 cmdlet에 파이프할 수 있는 개체의 유형입니다.

출력

출력 유형은 cmdlet이 내보내는 개체의 유형입니다.

  • Microsoft.Management.Infrastructure.CimInstance#VpnRoutingDomainConfig

예제

Example 1: Modify the configuration for a routing domain

This command modifies configuration settings for a specified routing domain in a multitenant environment and displays the resulting configuration.

PS C:\> Set-RemoteAccessRoutingDomain -RoutingDomain Rd_01 -IPAddressRange @("10.0.0.1","10.0.0.10") -Passthru

Example 2: Modify configuration for IPv6 addresses and encryption

This command modifies configuration settings for a routing domain in a multitenant environment and displays the resulting configuration.

PS C:\> Set-RemoteAccessRoutingDomain -RoutingDomain Rd_01 -IPAddressRange @("10.0.0.1","10.0.0.10") -IPv6Prefix 3ffe::/64   -EncryptionType OptionalEncryption    -Passthru

관련 항목

Disable-RemoteAccessRoutingDomain

Enable-RemoteAccessRoutingDomain

Get-RemoteAccessRoutingDomain