你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
New-AzPeeringExchangeConnectionObject
Create an in-memory object for ExchangeConnection.
Syntax
New-AzPeeringExchangeConnectionObject
[-BgpSessionMaxPrefixesAdvertisedV4 <Int32>]
[-BgpSessionMaxPrefixesAdvertisedV6 <Int32>]
[-BgpSessionMd5AuthenticationKey <String>]
[-BgpSessionMicrosoftSessionIPv4Address <String>]
[-BgpSessionMicrosoftSessionIPv6Address <String>]
[-BgpSessionPeerSessionIPv4Address <String>]
[-BgpSessionPeerSessionIPv6Address <String>]
[-BgpSessionPrefixV4 <String>]
[-BgpSessionPrefixV6 <String>]
[-ConnectionIdentifier <String>]
[-PeeringDbFacilityId <Int32>]
[<CommonParameters>]
Description
Create an in-memory object for ExchangeConnection.
Examples
Example 1: Create an exchange connection object
$md5Key = "******"
New-AzPeeringExchangeConnectionObject -BgpSessionMaxPrefixesAdvertisedV4 20000 -BgpSessionMaxPrefixesAdvertisedV6 0 -BgpSessionMd5AuthenticationKey $md5Key -BgpSessionMicrosoftSessionIPv4Address 1.1.1.1 -BgpSessionPeerSessionIPv4Address 1.1.1.0 -BgpSessionPrefixV4 1.1.1.1/31 -PeeringDbFacilityId 82 -ConnectionIdentifier c111111111111
ConnectionIdentifier ConnectionState ErrorMessage PeeringDbFacilityId
-------------------- --------------- ------------ -------------------
c111111111111 82
Create a exchange connection object in memory
Parameters
-BgpSessionMaxPrefixesAdvertisedV4
The maximum number of prefixes advertised over the IPv4 session.
Type: | Int32 |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-BgpSessionMaxPrefixesAdvertisedV6
The maximum number of prefixes advertised over the IPv6 session.
Type: | Int32 |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-BgpSessionMd5AuthenticationKey
The MD5 authentication key of the session.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-BgpSessionMicrosoftSessionIPv4Address
The IPv4 session address on Microsoft's end.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-BgpSessionMicrosoftSessionIPv6Address
The IPv6 session address on Microsoft's end.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-BgpSessionPeerSessionIPv4Address
The IPv4 session address on peer's end.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-BgpSessionPeerSessionIPv6Address
The IPv6 session address on peer's end.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-BgpSessionPrefixV4
The IPv4 prefix that contains both ends' IPv4 addresses.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-BgpSessionPrefixV6
The IPv6 prefix that contains both ends' IPv6 addresses.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ConnectionIdentifier
The unique identifier (GUID) for the connection.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-PeeringDbFacilityId
The PeeringDB.com ID of the facility at which the connection has to be set up.
Type: | Int32 |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |