Skip to Content

Microsoft AZ-720: Identify ExpressRoute Circuit AS Number with PowerShell

Discover how to quickly identify the autonomous system (AS) number of an Azure ExpressRoute circuit using the powerful Get-AzExpressRouteCircuit PowerShell cmdlet.

Table of Contents

Question

A company deploys ExpressRoute.

The company reports that there is an autonomous system (AS) number mismatch.

You need to identify the AS number of the circuit.

Which PowerShell cmdlet should you run?

A. Get-AzExpressRouteCircuitStats
B. Get-AzExpressRouteCircuitPeeringConfig
C. Get-AzExpressRouteCircuitRouteTable
D. Get-AzExpressRouteCircuit

Answer

D. Get-AzExpressRouteCircuit

Explanation

The Get-AzExpressRouteCircuit cmdlet retrieves the configuration details of an ExpressRoute circuit, including the AS number. This cmdlet provides a comprehensive view of the circuit’s properties, such as the service provider, peering location, bandwidth, and crucially, the AS number.

By running Get-AzExpressRouteCircuit, you can easily identify the AS number associated with the ExpressRoute circuit, allowing you to troubleshoot and resolve any AS number mismatch issues.

The other options:

  • Get-AzExpressRouteCircuitStats retrieves usage statistics, not the AS number.
  • Get-AzExpressRouteCircuitPeeringConfig gets the peering configuration, but not the overall circuit details.
  • Get-AzExpressRouteCircuitRouteTable fetches the route table, which doesn’t include the AS number.

Therefore, Get-AzExpressRouteCircuit is the correct cmdlet to identify the AS number of an ExpressRoute circuit.

Troubleshooting Microsoft Azure Connectivity AZ-720 certification exam practice question and answer (Q&A) dump with detail explanation and reference available free, helpful to pass the Troubleshooting Microsoft Azure Connectivity AZ-720 exam and earn Troubleshooting Microsoft Azure Connectivity AZ-720 certification.