< Back

Get-AzureRmExpressRouteCircuitStats

Tue Jan 29, 2019 9:54 pm

NAME Get-AzureRmExpressRouteCircuitStats



SYNOPSIS

Gets usage statistics of an ExpressRoute circuit.





SYNTAX

Get-AzureRmExpressRouteCircuitStats [-DefaultProfile <IAzureContextContainer>] -ExpressRouteCircuitName <String> [-PeeringType

{AzurePrivatePeering | AzurePublicPeering | MicrosoftPeering}] -ResourceGroupName <String> [<CommonParameters>]





DESCRIPTION

The Get-AzureRmExpressRouteCircuitStats cmdlet retrieves traffic statistics for an ExpressRoute circuit. The statistics include the number of

bytes sent and received over both the primary and secondary routes.





PARAMETERS

-DefaultProfile <IAzureContextContainer>

The credentials, account, tenant, and subscription used for communication with azure.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-ExpressRouteCircuitName <String>

The name of the ExpressRoute circuit being examined.



Required? true

Position? named

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-PeeringType <String>

The acceptable values for this parameter are: `AzurePrivatePeering`, `AzurePublicPeering`, and `MicrosoftPeering`



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-ResourceGroupName <String>

The name of the resource group containing the ExpressRoute circuit.



Required? true

Position? named

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

None

This cmdlet does not accept any input.





OUTPUTS

Microsoft.Azure.Commands.Network.Models.PSExpressRouteCircuitStats







NOTES









Example 1: Display the traffic statistics for an ExpressRoute peer



Get-AzureRmExpressRouteCircuitStats -ResourceGroupName $RG -ExpressRouteCircuitName $CircuitName -PeeringType 'AzurePrivatePeering'











RELATED LINKS

Online Version: https://docs.microsoft.com/en-us/powers ... rcuitstats

Get-AzureRmExpressRouteCircuitARPTable

Get-AzureRmExpressRouteCircuitRouteTable

Get-AzureRmExpressRouteCircuitRouteTableSummary