Get-AzExpressRouteCircuitRouteTable
Gets a route table from an ExpressRoute circuit.
Syntax
Default (Default)
Get-AzExpressRouteCircuitRouteTable
-ResourceGroupName <String>
-ExpressRouteCircuitName <String>
-PeeringType <String>
-DevicePath <DevicePathEnum>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
The Get-AzExpressRouteCircuitRouteTable cmdlet retrieves a detailed route table of an
ExpressRoute circuit. The route table will show all routes or can be filtered to show routes for a
specific peering type. You can use the route table to validate your peering configuration and
connectivity.
Examples
Example 1: Display the route table for the primary path
Get-AzExpressRouteCircuitRouteTable -ResourceGroupName $RG -ExpressRouteCircuitName $CircuitName -PeeringType 'AzurePrivatePeering' -DevicePath 'Primary'
Parameters
-DefaultProfile
The credentials, account, tenant, and subscription used for communication with azure.
Parameter properties
Type: IAzureContextContainer
Default value: None
Supports wildcards: False
DontShow: False
Aliases: AzContext, AzureRmContext, AzureCredential
Parameter sets
(All)
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-DevicePath
The acceptable values for this parameter are: Primary or Secondary
Parameter properties
Type: DevicePathEnum
Default value: None
Accepted values: Primary, Secondary
Supports wildcards: False
DontShow: False
Parameter sets
(All)
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-ExpressRouteCircuitName
The name of the ExpressRoute circuit being examined.
Parameter properties
Type: String
Default value: None
Supports wildcards: False
DontShow: False
Aliases: Name, ResourceName
Parameter sets
(All)
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: True
Value from remaining arguments: False
-PeeringType
The acceptable values for this parameter are: AzurePrivatePeering, AzurePublicPeering, and
MicrosoftPeering
Parameter properties
Type: String
Default value: None
Accepted values: AzurePrivatePeering, AzurePublicPeering, MicrosoftPeering
Supports wildcards: False
DontShow: False
Parameter sets
(All)
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-ResourceGroupName
The name of the resource group containing the ExpressRoute circuit.
Parameter properties
Type: String
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
(All)
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: True
Value from remaining arguments: False
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
-InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable,
-ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see
about_CommonParameters .
Outputs