共用方式為


New-AzPeeringExchangeConnectionObject

建立 Exchange 連線 ion 的記憶體內部物件。

語法

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

建立 Exchange 連線 ion 的記憶體內部物件。

範例

範例 1:建立交換連接物件

$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

在記憶體中建立交換連接物件

參數

-BgpSessionMaxPrefixesAdvertisedV4

在 IPv4 工作階段上公告的前置詞數目上限。

類型:Int32
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-BgpSessionMaxPrefixesAdvertisedV6

在 IPv6 會話上公告的前置詞數目上限。

類型:Int32
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-BgpSessionMd5AuthenticationKey

工作階段的 MD5 驗證金鑰。

類型:String
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-BgpSessionMicrosoftSessionIPv4Address

Microsoft 端的 IPv4 工作話位址。

類型:String
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-BgpSessionMicrosoftSessionIPv6Address

Microsoft 端的 IPv6 工作話位址。

類型:String
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-BgpSessionPeerSessionIPv4Address

對等端的 IPv4 工作階段位址。

類型:String
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-BgpSessionPeerSessionIPv6Address

對等端的 IPv6 工作話位址。

類型:String
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-BgpSessionPrefixV4

包含兩端 IPv4 位址的 IPv4 前置詞。

類型:String
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-BgpSessionPrefixV6

包含兩端 IPv6 位址的 IPv6 前置詞。

類型:String
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-ConnectionIdentifier

連接的唯一標識碼 (GUID)。

類型:String
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-PeeringDbFacilityId

必須設定連線之設施的 PeeringDB.com 標識碼。

類型:Int32
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

輸出

ExchangeConnection