Skip to content

Commit a290f73

Browse files
Merge pull request #250958 from duongau/patch-19
ExpressRoute - how to create peering (update private peering output)
2 parents c642bd6 + 4beb40c commit a290f73

File tree

1 file changed

+18
-12
lines changed

1 file changed

+18
-12
lines changed

articles/expressroute/howto-routing-cli.md

Lines changed: 18 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -273,26 +273,32 @@ The output is similar to the following example:
273273

274274
```output
275275
{
276-
"azureAsn": 12076,
277-
"etag": "W/\"2e97be83-a684-4f29-bf3c-96191e270666\"",
278-
"gatewayManagerEtag": "18",
279-
"id": "/subscriptions/9a0c2943-e0c2-4608-876c-e0ddffd1211b/resourceGroups/ExpressRouteResourceGroup/providers/Microsoft.Network/expressRouteCircuits/MyCircuit/peerings/AzurePrivatePeering",
280-
"ipv6PeeringConfig": null,
276+
"azureASN": 12076,
277+
"connections": [],
278+
"etag": "W/\"abcdef12-3456-7890-abcd-ef1234567890\"",
279+
"gatewayManagerEtag": "",
280+
"id": "/subscriptions/abcdef12-3456-7890-abcd-ef1234567890/resourceGroups/ExpressRouteResourceGroup/providers/Microsoft.Network/expressRouteCircuits/MyCircuit/peerings/AzurePrivatePeering",
281281
"lastModifiedBy": "Customer",
282-
"microsoftPeeringConfig": null,
282+
"microsoftPeeringConfig": {
283+
"advertisedCommunities": [],
284+
"advertisedPublicPrefixes": [],
285+
"advertisedPublicPrefixesState": "NotConfigured",
286+
"customerASN": 0,
287+
"legacyMode": 0,
288+
"routingRegistryName": "NONE"
289+
},
283290
"name": "AzurePrivatePeering",
284-
"peerAsn": 7671,
291+
"peerASN": 65020,
292+
"peeredConnections": [],
285293
"peeringType": "AzurePrivatePeering",
286294
"primaryAzurePort": "",
287-
"primaryPeerAddressPrefix": "",
295+
"primaryPeerAddressPrefix": "192.168.17.16/30",
288296
"provisioningState": "Succeeded",
289297
"resourceGroup": "ExpressRouteResourceGroup",
290-
"routeFilter": null,
291298
"secondaryAzurePort": "",
292-
"secondaryPeerAddressPrefix": "",
293-
"sharedKey": null,
299+
"secondaryPeerAddressPrefix": "192.168.17.20/30",
294300
"state": "Enabled",
295-
"stats": null,
301+
"type": "Microsoft.Network/expressRouteCircuits/peerings",
296302
"vlanId": 100
297303
}
298304
```

0 commit comments

Comments
 (0)