共用方式為


Get-AzExpressRouteCrossConnectionRouteTable

從 ExpressRoute 交叉連線取得路由表。

語法

Get-AzExpressRouteCrossConnectionRouteTable
   -ResourceGroupName <String>
   -CrossConnectionName <String>
   -PeeringType <String>
   -DevicePath <DevicePathEnum>
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]
Get-AzExpressRouteCrossConnectionRouteTable
   -ExpressRouteCrossConnection <PSExpressRouteCrossConnection>
   -PeeringType <String>
   -DevicePath <DevicePathEnum>
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]

Description

Get-AzExpressRouteCross 連線 ionRouteTable Cmdlet 會擷取 ExpressRoute 線路的詳細路由表。 路由表會顯示所有路由,或可篩選以顯示特定對等互連類型的路由。 您可以使用路由表來驗證對等互連組態和連線能力。

範例

範例 1:顯示主要路徑的路由表

Get-AzExpressRouteCrossConnectionRouteTable -ResourceGroupName $RG -CrossConnectionName $CircuitName -PeeringType MicrosoftPeering -DevicePath Primary

參數

-CrossConnectionName

Express Route Cross 連線 ion 的名稱

類型:String
別名:Name, ResourceName
Position:Named
預設值:None
必要:True
接受管線輸入:True
接受萬用字元:False

-DefaultProfile

用於與 azure 通訊的認證、帳戶、租用戶和訂用帳戶。

類型:IAzureContextContainer
別名:AzContext, AzureRmContext, AzureCredential
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-DevicePath

此參數可接受的值為: PrimarySecondary

類型:DevicePathEnum
接受的值:Primary, Secondary
Position:Named
預設值:None
必要:True
接受管線輸入:False
接受萬用字元:False

-ExpressRouteCrossConnection

Express Route Cross 連線 ion

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

-PeeringType

此參數可接受的值為: AzurePrivatePeeringAzurePublicPeering、 和 MicrosoftPeering

類型:String
接受的值:AzurePrivatePeering, AzurePublicPeering, MicrosoftPeering
Position:Named
預設值:None
必要:True
接受管線輸入:False
接受萬用字元:False

-ResourceGroupName

包含 ExpressRoute 交叉連線的資源群組名稱。

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

輸入

None

此 Cmdlet 不接受任何輸入。

輸出

PSExpressRouteCircuitRoutesTable