What to verify (Quick checklist)
- Peerings (Private, Microsoft, Public) exist for the circuit.
- Each peering’s provisioning state is
Provisioned. - Primary and secondary IP addresses for Private peering are present and correct.
- VLAN ID and peer ASN match what your connectivity provider expects.
- BGP session parameters (peer ASN, authentication, passwords) are consistent on both sides.
Before making changes, record the current peering settings (VLAN, ASN, IP pairs). You can use the Azure CLI or PowerShell to export these settings for auditing or troubleshooting.
Verify in the Azure portal
- Open the Azure portal and navigate to your ExpressRoute circuit.
- From the circuit Overview, open the “Peerings” section.
- Confirm the configured peerings appear (for example: Private, Microsoft, Public—as applicable).
- For each peering:
- Check the provisioning status: it should be
Provisioned. - For Private peering, confirm both primary and secondary IP addresses are populated and match your design.
- Validate VLAN ID and peer ASN are correct for your environment.
- Check the provisioning status: it should be
Command-line checks
Use the CLI for scripted validation and quick automation-friendly checks.- Azure CLI (recommended for scripting)
-
provisioningStateorstatus=Provisioned -
ipv4Routes?and IP address fields (primary/secondary) for Private peering -
peeringType,vlanId,peerASN - PowerShell
ProvisioningState, PeeringType, PeerASN, VlanId, and IP configuration properties.
Quick reference table
Note: In the table above, any JSON or object-like values are shown as code to avoid parsing issues (for example,
properties.ipConfigurations).
Troubleshooting tips
-
If a peering is missing:
- Confirm the peering was created on the correct ExpressRoute circuit and in the correct resource group.
- Verify you selected the correct peering type (Private, Microsoft, Public) when creating the peering.
-
If a peering’s provisioning state is not
Provisionedor is stuck:- Verify VLAN ID and peer ASN are configured correctly both in Azure and by your connectivity provider.
- Confirm primary/secondary IP address pairs match the provider’s assigned addresses.
- Ensure required route filters, service keys, or other provider-specific settings have been applied.
-
If BGP does not establish:
- Validate BGP authentication (if used), peer ASNs, and BGP passwords on both sides.
- Review edge-router logs and any notifications from your connectivity provider for session negotiation errors.
- Confirm prefix advertisements and route filters are correctly applied.
-
If you see inconsistent or unexpected IP settings in the portal vs. provider documentation:
- Do not change values unilaterally—coordinate changes with the connectivity provider to avoid mismatched configurations.
Do not change VLAN IDs, peer ASNs, or IP assignments without confirming with your connectivity provider—these values must match exactly on both sides to establish BGP and avoid outages.
Example inspection of Azure CLI JSON output
When you run the Azure CLI command above, a peering object in the JSON might include fields such as:peeringTypepeerASNvlanIdipConfigurations(containsprimaryIPv4andsecondaryIPv4for Private peering)provisioningState
jq or equivalent JSON parsing tools to extract and compare these values programmatically as part of validation scripts.