About This Page
This page is part of the Azure documentation. It contains code examples and configuration instructions for working with Azure services.
Bias Analysis
Bias Types:
⚠️
powershell_heavy
⚠️
windows_tools
⚠️
missing_linux_example
⚠️
windows_first
Summary:
The documentation exclusively provides instructions and examples using PowerShell cmdlets for retrieving ARP tables on Azure ExpressRoute circuits. There are no examples or guidance for performing equivalent operations using Azure CLI, Bash, or other cross-platform tools. The prerequisites specifically require the Azure PowerShell module, and all code samples are in PowerShell. There is no mention of Linux or macOS workflows, nor are alternative tools or commands referenced.
Recommendations:
- Provide equivalent instructions and examples using Azure CLI (az) commands, which are cross-platform and work on Linux, macOS, and Windows.
- Explicitly mention that the steps can be performed from any OS using Azure CLI, and provide installation links for both PowerShell and CLI.
- Include Bash or shell script examples where appropriate, especially for common troubleshooting or data retrieval tasks.
- Clarify any limitations or differences in output or capabilities between PowerShell and CLI, if applicable.
- Add a section or note for Linux/macOS users, outlining the recommended approach for retrieving ARP tables and interacting with ExpressRoute resources.
Create pull request
Flagged Code Snippets
# Required Variables
$RG = "<Your Resource Group Name Here>"
$Name = "<Your ExpressRoute Circuit Name Here>"
# ARP table for Azure private peering - Primary path
Get-AzExpressRouteCircuitARPTable -ResourceGroupName $RG -ExpressRouteCircuitName $Name -PeeringType AzurePrivatePeering -DevicePath Primary
# ARP table for Azure private peering - Secondary path
Get-AzExpressRouteCircuitARPTable -ResourceGroupName $RG -ExpressRouteCircuitName $Name -PeeringType AzurePrivatePeering -DevicePath Secondary
# Required Variables
$RG = "<Your Resource Group Name Here>"
$Name = "<Your ExpressRoute Circuit Name Here>"
# ARP table for Microsoft peering - Primary path
Get-AzExpressRouteCircuitARPTable -ResourceGroupName $RG -ExpressRouteCircuitName $Name -PeeringType MicrosoftPeering -DevicePath Primary
# ARP table for Microsoft peering - Secondary path
Get-AzExpressRouteCircuitARPTable -ResourceGroupName $RG -ExpressRouteCircuitName $Name -PeeringType MicrosoftPeering -DevicePath Secondary
Age InterfaceProperty IpAddress MacAddress
--- ----------------- --------- ----------
10 On-Prem 20.33.0.1 ffff.eeee.dddd
0 Microsoft 20.33.0.2 aaaa.bbbb.cccc
Age InterfaceProperty IpAddress MacAddress
--- ----------------- --------- ----------
0 Microsoft 20.33.0.2 aaaa.bbbb.cccc