一根Express Route同時支援ARM和ASM的VNET

衡子發表於2016-05-17

ARM模式的Azure管理模式在China Azure上已經正式落地了。今後在China Azure上應該主要以ARM的模式建立VM了。

並且目前Express Route也已經可以在ARM模式下建立,並支援ARM的VNET了。

如果客戶有需求,要求Express Route的服務既支援ARM模式,又支援ASM模式,這時就需要在ARM模式的Express Route下開啟ARM的Express Route支援Class VNET的功能。

具體的命令如下:

$ckt = Get-AzureRmExpressRouteCircuit

$ckt.AllowClassicOperations = $true

Set-AzureRmExpressRouteCircuit -ExpressRouteCircuit $ckt


Name                             : hwarmer01
ResourceGroupName                : hwarm01
Location                         : chinaeast
Id                               : /subscriptions/xxxx/resourceGroups/hwarm01/providers/Microsoft.Network/expressRoute
                                   Circuits/hwarmer01
Etag                             : W/"xxxx"
ProvisioningState                : Succeeded
Sku                              : {
                                     "Name": "Standard_MeteredData",
                                     "Tier": "Standard",
                                     "Family": "MeteredData"
                                   }
CircuitProvisioningState         : Enabled
ServiceProviderProvisioningState : NotProvisioned
ServiceProviderNotes             : 
ServiceProviderProperties        : {
                                     "ServiceProviderName": "Shanghai Telecom Ethernet",
                                     "PeeringLocation": "Shanghai",
                                     "BandwidthInMbps": 50
                                   }
ServiceKey                       : xxx
Peerings                         : [
                                     {
                                       "Name": "AzurePublicPeering",
                                       "Etag": "W/\"xxxx\"",
                                       "Id": "/subscriptions/xxxx/resourceGroups/hwarm01/providers/Microsoft.Network/e
                                   xpressRouteCircuits/hwarmer01/peerings/AzurePublicPeering",
                                       "PeeringType": "AzurePublicPeering",
                                       "State": "Enabled",
                                       "AzureASN": 12076,
                                       "PeerASN": 65525,
                                       "PrimaryPeerAddressPrefix": "192.168.201.0/30",
                                       "SecondaryPeerAddressPrefix": "192.168.201.4/30",
                                       "PrimaryAzurePort": "STEXP-SHA03-06GMR-CIS-1-PRI-A",
                                       "SecondaryAzurePort": "STEXP-SHA03-06GMR-CIS-2-SEC-A",
                                       "VlanId": 667,
                                       "ProvisioningState": "Succeeded"
                                     },
                                     {
                                       "Name": "AzurePrivatePeering",
                                       "Etag": "W/\"xxxx\"",
                                       "Id": "/subscriptions/xxxx/resourceGroups/hwarm01/providers/Microsoft.Network/e
                                   xpressRouteCircuits/hwarmer01/peerings/AzurePrivatePeering",
                                       "PeeringType": "AzurePrivatePeering",
                                       "State": "Enabled",
                                       "AzureASN": 12076,
                                       "PeerASN": 65525,
                                       "PrimaryPeerAddressPrefix": "192.168.200.0/30",
                                       "SecondaryPeerAddressPrefix": "192.168.200.4/30",
                                       "PrimaryAzurePort": "STEXP-SHA03-06GMR-CIS-1-PRI-A",
                                       "SecondaryAzurePort": "STEXP-SHA03-06GMR-CIS-2-SEC-A",
                                       "VlanId": 666,
                                       "ProvisioningState": "Succeeded"
                                     }
                                   ]
Authorizations                   : [
                                     {
                                       "Name": "hwerau",
                                       "Etag": "W/\"xxxx\"",
                                       "Id": "/subscriptions/xxxx/resourceGroups/hwarm01/providers/Microsoft.Network/e
                                   xpressRouteCircuits/hwarmer01/authorizations/hwerau",
                                       "AuthorizationKey": "xxxx",
                                       "AuthorizationUseStatus": "Available",
                                       "ProvisioningState": "Succeeded"
                                     }
                                   ]
AllowClassicOperations           : True

 

相關文章