Set-NetIPv6Protocol
Set-NetIPv6Protocol
Modifies the IPv6 protocol configuration.
구문
Parameter Set: InputObject (cdxml)
Set-NetIPv6Protocol [-AddressMaskReply <AddressMaskReply> ] [-AsJob] [-CimSession <CimSession[]> ] [-DefaultHopLimit <UInt32> ] [-DhcpMediaSense <DhcpMediaSense> ] [-GroupForwardedFragments <GroupForwardedFragments> ] [-IcmpRedirects <IcmpRedirects> ] [-InputObject <CimInstance[]> ] [-MaxDadAttempts <UInt32> ] [-MaxPreferredLifetime <TimeSpan> ] [-MaxRandomTime <TimeSpan> ] [-MaxValidLifetime <TimeSpan> ] [-MediaSenseEventLog <MediaSenseEventLog> ] [-MldLevel <MldLevel> ] [-MldVersion <MldVersion> ] [-MulticastForwarding <MulticastForwarding> ] [-NeighborCacheLimitEntries <UInt32> ] [-PassThru] [-RandomizeIdentifiers <RandomizeIdentifiers> ] [-ReassemblyLimitBytes <UInt32> ] [-RegenerateTime <TimeSpan> ] [-RouteCacheLimitEntries <UInt32> ] [-SourceRoutingBehavior <SourceRoutingBehavior> ] [-ThrottleLimit <Int32> ] [-UseTemporaryAddresses <UseTemporaryAddresses> ] [-Confirm] [-WhatIf] [ <CommonParameters>]
자세한 설명
The Set-NetIPv6Protocol cmdlet modifies the global IPv6 protocol configuration for a computer. If you do not specify any parameters for the cmdlet, the cmdlet sets the default values for the IPv6 protocol configuration.
매개 변수
-AddressMaskReply<AddressMaskReply>
Specifies a value for address mask reply. The cmdlet modifies the value for this setting. Address mask reply specifies how the computer responds to ICMP address mask packets. 이 매개 변수에 허용되는 값은 다음과 같습니다.
-- Enabled. The computer responds to ICMP address mask packets.
-- Disabled. The computer does not respond to ICMP address mask packets.
별칭 |
없음 |
필수 여부 |
false |
위치 |
named |
기본값 |
없음 |
파이프라인 입력 적용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
-AsJob
별칭 |
없음 |
필수 여부 |
false |
위치 |
named |
기본값 |
없음 |
파이프라인 입력 적용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
-CimSession<CimSession[]>
원격 세션에서 또는 원격 컴퓨터에서 cmdlet을 실행합니다. New-CimSession 또는 Get-CimSession cmdlet의 출력과 같은 컴퓨터 이름이나 세션 개체를 입력합니다. 기본값은 로컬 컴퓨터의 현재 세션입니다.
별칭 |
없음 |
필수 여부 |
false |
위치 |
named |
기본값 |
없음 |
파이프라인 입력 적용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
-DefaultHopLimit<UInt32>
Specifies a value for the default hop limit. The cmdlet modifies the value for this setting. This parameter sets the default value for the CurrentHopLimit property in the IP interface. The current hop limit is the value that the IP interface writes in the hop limit field in all outbound IPv6 traffic. When routers forward a packet, they decrement the hop limit by 1 and discard the packet when the hop limit is 0. The default value is 128.
별칭 |
없음 |
필수 여부 |
false |
위치 |
named |
기본값 |
없음 |
파이프라인 입력 적용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
-DhcpMediaSense<DhcpMediaSense>
Specifies a value for Media Sense. The cmdlet modifies the value for this setting.
Media Sense provides a mechanism for the network adapter to notify the protocol stack of media connect and disconnect events. These events trigger the DHCP client to take an action, such as attempting to renew a DHCP lease or removing routes that are related to a disconnected network. When Media Sense is enabled, the network parameters on the laptop of a roaming user are automatically and transparently updated without requiring a restart when the user moves from one location to another. 이 매개 변수에 허용되는 값은 다음과 같습니다.
-- Enabled
-- Disabled
The default value is Enabled.
별칭 |
없음 |
필수 여부 |
false |
위치 |
named |
기본값 |
없음 |
파이프라인 입력 적용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
-GroupForwardedFragments<GroupForwardedFragments>
Specifies a value for group forwarded fragments. The cmdlet modifies the value for this setting. Group forwarded fragments specifies whether the IP interface collects fragments into groups before it forwards the fragments. This parameter sets the GroupForwardedFragments property in the IP interface. 이 매개 변수에 허용되는 값은 다음과 같습니다.
-- Enabled. The IP interface collects IPv6 protocol fragments into groups before it forwards the fragments.
-- Disabled. The IP interface does not collect IPv6 protocol fragments into groups before it forwards the fragments.
The default value is Disabled.
별칭 |
없음 |
필수 여부 |
false |
위치 |
named |
기본값 |
없음 |
파이프라인 입력 적용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
-IcmpRedirects<IcmpRedirects>
Specifies a value for Internet Control Message Protocol (ICMP) redirect. The cmdlet modifies the value for this setting. ICMP redirect specifies whether to update the path cache in response to ICMP redirect packets. This parameter sets the IcmpRedirects property in the IP interface. 이 매개 변수에 허용되는 값은 다음과 같습니다.
-- Enabled. The IP interface updates the path cache in response to ICMP redirect packets.
-- Disabled. The IP interface does not update the path cache in response to ICMP redirect packets.
The default value is Enabled.
별칭 |
없음 |
필수 여부 |
false |
위치 |
named |
기본값 |
없음 |
파이프라인 입력 적용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
-InputObject<CimInstance[]>
이 cmdlet에 대한 입력을 지정합니다. 이 매개 변수를 사용하거나 입력을 이 cmdlet으로 파이프할 수 있습니다.
별칭 |
없음 |
필수 여부 |
false |
위치 |
named |
기본값 |
없음 |
파이프라인 입력 적용 여부 |
true (ByValue) |
와일드카드 문자 허용 여부 |
false |
-MaxDadAttempts<UInt32>
Specifies a value for the maximum number of duplicate address detection attempts. The cmdlet modifies the value for this setting.
별칭 |
없음 |
필수 여부 |
false |
위치 |
named |
기본값 |
없음 |
파이프라인 입력 적용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
-MaxPreferredLifetime<TimeSpan>
Specifies a value, as a TimeSpan object, over which to prefer a temporary address. The cmdlet modifies the value for this setting. To obtain a TimeSpan object, use the New-Timespan cmdlet. For more information, type Get-Help New-TimeSpan
.
별칭 |
없음 |
필수 여부 |
false |
위치 |
named |
기본값 |
없음 |
파이프라인 입력 적용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
-MaxRandomTime<TimeSpan>
Specifies a value, as a TimeSpan object, for the maximum time of the upper bound that the IP interface uses to compute a random delay at startup time. The cmdlet modifies the value for this setting.
별칭 |
없음 |
필수 여부 |
false |
위치 |
named |
기본값 |
없음 |
파이프라인 입력 적용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
-MaxValidLifetime<TimeSpan>
Specifies a value, as a TimeSpan object, for the maximum lifetime over which a temporary address is valid. The cmdlet modifies the value for this setting. To obtain a TimeSpan object, use the New-Timespan cmdlet.
별칭 |
없음 |
필수 여부 |
false |
위치 |
named |
기본값 |
없음 |
파이프라인 입력 적용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
-MediaSenseEventLog<MediaSenseEventLog>
Specifies a value for Media Sense event log. The cmdlet modifies the value for this setting. 이 매개 변수에 허용되는 값은 다음과 같습니다.
-- Enabled. The IP interface logs DHCP Media Sense events in the event log for troubleshooting purposes.
-- Disabled. The IP interface does not log DHCP Media Sense events in the event log.
The default value is Disabled.
별칭 |
없음 |
필수 여부 |
false |
위치 |
named |
기본값 |
없음 |
파이프라인 입력 적용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
-MldLevel<MldLevel>
Specifies a value for the level of Multicast Listener Discovery (MLD) support. The cmdlet modifies the value for this setting. 이 매개 변수에 허용되는 값은 다음과 같습니다.
-- All. The computer can send and receive multicast packets.
-- None. The computer cannot send or receive multicast packets.
-- SendOnly. The computer can send but not receive multicast packets.
별칭 |
없음 |
필수 여부 |
false |
위치 |
named |
기본값 |
없음 |
파이프라인 입력 적용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
-MldVersion<MldVersion>
Specifies a value for the maximum version of Multicast Listener Discovery that the host supports. The cmdlet modifies the value for this setting.
별칭 |
없음 |
필수 여부 |
false |
위치 |
named |
기본값 |
없음 |
파이프라인 입력 적용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
-MulticastForwarding<MulticastForwarding>
Specifies a value for multicast forwarding. The cmdlet modifies the value for this setting. 이 매개 변수에 허용되는 값은 다음과 같습니다.
-- Enabled. The computer can forward multicast packets.
-- Disabled. The computer cannot forward multicast packets.
The default value is Disabled.
별칭 |
없음 |
필수 여부 |
false |
위치 |
named |
기본값 |
없음 |
파이프라인 입력 적용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
-NeighborCacheLimitEntries<UInt32>
Specifies the maximum number of neighbor cache entries. The cmdlet modifies the value for this setting.
The default value is 256.
별칭 |
없음 |
필수 여부 |
false |
위치 |
named |
기본값 |
없음 |
파이프라인 입력 적용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
-PassThru
작업하고 있는 항목을 나타내는 개체를 반환합니다. 기본적으로 이 cmdlet은 출력을 생성하지 않습니다.
별칭 |
없음 |
필수 여부 |
false |
위치 |
named |
기본값 |
없음 |
파이프라인 입력 적용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
-RandomizeIdentifiers<RandomizeIdentifiers>
Specifies a value for the randomization of identifiers. The cmdlet modifies the value for this setting. 이 매개 변수에 허용되는 값은 다음과 같습니다.
-- Enabled. The IP interface randomizes identifiers when it creates an IP address.
-- Disabled. The IP interface does not randomize identifiers when it creates an IP address.
The default value is Enabled.
별칭 |
없음 |
필수 여부 |
false |
위치 |
named |
기본값 |
없음 |
파이프라인 입력 적용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
-ReassemblyLimitBytes<UInt32>
Specifies a value for the maximum size of the reassembly buffer. The cmdlet modifies the value for this setting.
별칭 |
없음 |
필수 여부 |
false |
위치 |
named |
기본값 |
없음 |
파이프라인 입력 적용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
-RegenerateTime<TimeSpan>
Specifies a value, as TimeSpan objects, for when the IP interface deprecates a temporary address before it generates a new address. The cmdlet modifies the value for this setting.
별칭 |
없음 |
필수 여부 |
false |
위치 |
named |
기본값 |
없음 |
파이프라인 입력 적용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
-RouteCacheLimitEntries<UInt32>
Specifies a value for the maximum number of route cache entries. The cmdlet modifies the value for this setting.
The default value is 128.
별칭 |
없음 |
필수 여부 |
false |
위치 |
named |
기본값 |
없음 |
파이프라인 입력 적용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
-SourceRoutingBehavior<SourceRoutingBehavior>
Specifies a value for source routing behavior. The cmdlet modifies the value for this setting. 이 매개 변수에 허용되는 값은 다음과 같습니다.
-- DontForward. The computer can receive but not forward source-routed packets.
-- Drop. The computer drops source-routed packets.
The default value is DontForward.
별칭 |
없음 |
필수 여부 |
false |
위치 |
named |
기본값 |
없음 |
파이프라인 입력 적용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
-ThrottleLimit<Int32>
이 cmdlet을 실행하도록 설정할 수 있는 최대 동시 작업 수를 지정합니다. 이 매개 변수가 생략되거나 값 0
이 입력되면 Windows PowerShell®은 컴퓨터에서 실행 중인 CIM cmdlet의 수에 따라 cmdlet에 대한 최적의 제한 한도를 계산합니다. 제한 한도는 현재 cmdlet에만 적용되며 세션이나 컴퓨터에는 적용되지 않습니다.
별칭 |
없음 |
필수 여부 |
false |
위치 |
named |
기본값 |
없음 |
파이프라인 입력 적용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
-UseTemporaryAddresses<UseTemporaryAddresses>
Specifies a value for temporary addresses. The cmdlet modifies the value for this setting.
-- Always. The computer always generates temporary addresses by using random numbers.
-- Counter. The computer generates temporary addresses by using the interface identifier. You typically use this identifier for test purposes.
-- Disabled. The computer does not use temporary addresses.
-- Enabled. The computer uses temporary addresses.
별칭 |
없음 |
필수 여부 |
false |
위치 |
named |
기본값 |
없음 |
파이프라인 입력 적용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
-Confirm
cmdlet을 실행하기 전에 확인 메시지가 표시됩니다.
필수 여부 |
false |
위치 |
named |
기본값 |
false |
파이프라인 입력 적용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
-WhatIf
cmdlet이 실행될 경우 결과 동작을 표시합니다. cmdlet이 실행되지 않습니다.
필수 여부 |
false |
위치 |
named |
기본값 |
false |
파이프라인 입력 적용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
<CommonParameters>
이 cmdlet은 일반 매개 변수 -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer 및 -OutVariable을 지원합니다. 자세한 내용은 다음을 참조하세요. about_CommonParameters(https://go.microsoft.com/fwlink/p/?LinkID=113216).
입력
입력 유형은 cmdlet에 파이프할 수 있는 개체의 유형입니다.
Microsoft.Management.Infrastructure.CimInstance#root\StandardCimv2\MSFT_NetIPv6Protocol
Microsoft.Management.Infrastructure.CimInstance
개체는 WMI(Windows Management Instrumentation) 개체를 표시하는 래퍼 클래스입니다. 파운드 기호(#
) 뒤에 오는 경로는 기본 WMI 개체의 네임스페이스 및 클래스 이름을 제공합니다.
출력
출력 유형은 cmdlet이 내보내는 개체의 유형입니다.
- None
예제
Example 1: Enable the DHCP Media Sense event log
This command enables the DHCP Media Sense event log.
PS C:\> Set-NetIPv6Protocol –MediaSenseEventLog Enabled
Example 2: Increase the number of neighbors
This command increases the size of the cache of on-link neighbors on the subnet to 1,000. The default value is 256.
PS C:\> Set-NetIPv6Protocol –NeighborCacheLimitEntries 1000