创建和修改 ExpressRoute 线路Create and modify an ExpressRoute circuit

本文可帮助你使用 Azure 门户和 Azure 资源管理器部署模型创建 ExpressRoute 线路。This article helps you create an ExpressRoute circuit using the Azure portal and the Azure Resource Manager deployment model. 还可以检查线路状态、更新、删除或取消预配线路。You can also check the status, update, delete, or deprovision a circuit.

准备阶段Before you begin

  • 在开始配置之前,请查看先决条件工作流Review the prerequisites and workflows before you begin configuration.
  • 确保有权访问 Azure 门户Ensure that you have access to the Azure portal.
  • 确保有权创建新的网络资源。Ensure that you have permissions to create new networking resources. 如果没有适当的权限,请与帐户管理员联系。Contact your account administrator if you do not have the right permissions.

创建和预配 ExpressRoute 线路Create and provision an ExpressRoute circuit

1.登录到 Azure 门户1. Sign in to the Azure portal

从浏览器导航到 Azure 门户并使用 Azure 帐户登录。From a browser, navigate to the Azure portal and sign in with your Azure account.

2.创建新的 ExpressRoute 线路2. Create a new ExpressRoute circuit

Important

从发布服务密钥的那一刻起,会对 ExpressRoute 线路进行计费。Your ExpressRoute circuit is billed from the moment a service key is issued. 确保连接服务提供商准备好预配线路后就执行此操作。Ensure that you perform this operation when the connectivity provider is ready to provision the circuit.

  1. 可以通过选择创建新资源的选项来创建 ExpressRoute 线路。You can create an ExpressRoute circuit by selecting the option to create a new resource. 单击“创建资源” > “网络” > “ExpressRoute”,如下图所示 :Click Create a resource > Networking > ExpressRoute, as shown in the following image:

    创建 ExpressRoute 线路

  2. 单击“ExpressRoute” 即可看到“创建 ExpressRoute 线路” 页。After you click ExpressRoute, you'll see the Create ExpressRoute circuit page. 在此页上填写相应值时,请务必指定正确的 SKU 层(“标准”或“高级”)和数据计量计费模型(“不限流量”或“按流量计费”)。When you're filling in the values on this page, make sure that you specify the correct SKU tier (Standard, or Premium) and data metering billing model (Unlimited or Metered).

    配置 SKU 层和数据计量

    • “层” 决定是启用 ExpressRoute 标准版外接程序还是 ExpressRoute 高级版外接程序。Tier determines whether an ExpressRoute standard or an ExpressRoute premium add-on is enabled. 可以指定“Standard” 以获取标准 SKU,或指定“Premium” 以获取高级版外接程序。You can specify Standard to get the standard SKU or Premium for the premium add-on.

    • “数据计量” 决定计费类型。Data metering determines the billing type. 可以指定“Metered” 以获取数据流量套餐,指定“Unlimited” 以获取无限制流量套餐。You can specify Metered for a metered data plan and Unlimited for an unlimited data plan. 请注意,可以将计费类型从“按流量计费”更改为“不限流量” 。Note that you can change the billing type from Metered to Unlimited.

      Important

      无法将类型从“不限流量”更改为“按流量计费” 。You can't change the type from Unlimited to Metered.

    • “对等互连位置” 是与 Microsoft 建立对等互连的实际位置。Peering Location is the physical location where you are peering with Microsoft.

      Important

      “对等互连位置”指明了与 Microsoft 建立对等互连的实际位置The Peering Location indicates the physical location where you are peering with Microsoft. 此位置与“Location”属性 没有 关系,后者指的是 Azure 网络资源提供商所在的地理位置。This is not linked to "Location" property, which refers to the geography where the Azure Network Resource Provider is located. 尽管两者之间没有关系,但最好是选择地理上与线路对等互连位置靠近的网络资源提供商。While they are not related, it is a good practice to choose a Network Resource Provider geographically close to the Peering Location of the circuit.

3.查看线路和属性3. View the circuits and properties

查看所有线路View all the circuits

在左侧菜单中选择“所有资源” 即可查看创建的所有线路。You can view all the circuits that you created by selecting All resources on the left-side menu.

查看线路

查看属性View the properties

可以通过选择线路来查看线路属性。You can view the properties of the circuit by selecting it. 在线路的“概述” 页上,服务密钥显示在“服务密钥”字段中。On the Overview page for your circuit, the service key appears in the service key field. 必须复制线路服务密钥,并将密钥传递给服务提供商,以便完成预配流程。You must copy the service key for your circuit and pass it down to the service provider to complete the provisioning process. 线路服务密钥为线路专属。The circuit service key is specific to your circuit.

查看属性

4.将服务密钥发送给连接服务提供商进行预配4. Send the service key to your connectivity provider for provisioning

在此页上,“提供商状态” 指明了服务提供商端的当前预配状态。On this page, Provider status provides information on the current state of provisioning on the service-provider side. “线路状态” 提供 Microsoft 端的状态。Circuit status provides the state on the Microsoft side. 有关线路预配状态的详细信息,请参阅工作流一文。For more information about circuit provisioning states, see the Workflows article.

创建新的 ExpressRoute 线路时,线路处于以下状态:When you create a new ExpressRoute circuit, the circuit is in the following state:

提供程序状态:未预配Provider status: Not provisioned
线路状态:EnabledCircuit status: Enabled

启动预配过程

当连接服务提供商正在启用线路时,线路会更改为以下状态:The circuit changes to the following state when the connectivity provider is in the process of enabling it for you:

提供程序状态:设置Provider status: Provisioning
线路状态:EnabledCircuit status: Enabled

ExpressRoute 线路必须处于以下状态时才能使用:For you to be able to use an ExpressRoute circuit, it must be in the following state:

提供程序状态:已预配Provider status: Provisioned
线路状态:EnabledCircuit status: Enabled

5.定期检查线路密钥的状态5. Periodically check the status and the state of the circuit key

选择感兴趣的线路即可查看其属性。You can view the properties of the circuit that you're interested in by selecting it. 选中“提供商状态” ,确保在继续之前其已转为“已预配” 。Check the Provider status and ensure that it has moved to Provisioned before you continue.

线路和提供商状态

6.创建路由配置6. Create your routing configuration

有关分步说明,请参阅 ExpressRoute 线路路由配置一文,了解如何创建和修改线路对等互连。For step-by-step instructions, refer to the ExpressRoute circuit routing configuration article to create and modify circuit peerings.

Important

这些说明仅适用于由提供第 2 层连接服务的服务提供商创建的线路。These instructions only apply to circuits that are created with service providers that offer layer 2 connectivity services. 如果服务提供商提供第 3 层托管服务(通常是 IP VPN,如 MPLS),则连接服务提供商会配置和管理路由。If you're using a service provider that offers managed layer 3 services (typically an IP VPN, like MPLS), your connectivity provider configures and manages routing for you.

接下来,将虚拟网络链接到 ExpressRoute 线路。Next, link a virtual network to your ExpressRoute circuit. 使用资源管理器部署模型时,请参阅将虚拟网络链接到 ExpressRoute 线路一文。Use the Linking virtual networks to ExpressRoute circuits article when you work with the Resource Manager deployment model.

获取 ExpressRoute 线路状态Getting the status of an ExpressRoute circuit

可以选择线路并查看“概述”页,从而查看线路状态。You can view the status of a circuit by selecting it and viewing the Overview page.

修改 ExpressRoute 线路Modifying an ExpressRoute circuit

可以在不影响连接的情况下修改 ExpressRoute 线路的某些属性。You can modify certain properties of an ExpressRoute circuit without impacting connectivity. 可以修改“配置” 页上的“带宽”、“SKU”、“计费模型”和“允许经典操作”。You can modify the bandwidth, SKU, billing model and allow classic operations on the Configuration page. 若要了解限制,请参阅 ExpressRoute 常见问题For information on limits and limitations, see the ExpressRoute FAQ.

可以执行下列任务,而不产生任何故障时间:You can perform the following tasks with no downtime:

  • 为 ExpressRoute 线路启用或禁用 ExpressRoute Premium 加载项。Enable or disable an ExpressRoute Premium add-on for your ExpressRoute circuit.
  • 增加 ExpressRoute 线路的带宽,前提是端口上有可用容量。Increase the bandwidth of your ExpressRoute circuit, provided there is capacity available on the port.

    Important

    不支持对线路的带宽进行降级。Downgrading the bandwidth of a circuit is not supported.

  • 将计量套餐从“按流量计费” 更改为“不限流量” 。Change the metering plan from Metered Data to Unlimited Data.

    Important

    不支持将计量套餐从无限制流量套餐更改为数据流量套餐。Changing the metering plan from Unlimited Data to Metered Data is not supported.

  • 可以启用和禁用允许经典操作 。You can enable and disable Allow Classic Operations.

Important

如果现有端口上的容量不足,可能需要重新创建 ExpressRoute 线路。You may have to recreate the ExpressRoute circuit if there is inadequate capacity on the existing port. 如果该位置没有额外的可用容量,则不能升级线路。You cannot upgrade the circuit if there is no additional capacity available at that location.

尽管你可无缝升级带宽,但是无法在不中断的情况下降低 ExpressRoute 线路的带宽。Although you can seamlessly upgrade the bandwidth, you cannot reduce the bandwidth of an ExpressRoute circuit without disruption. 带宽降级需要取消对 ExpressRoute 线路的预配,并重新预配新的 ExpressRoute 线路。Downgrading bandwidth requires you to deprovision the ExpressRoute circuit and then reprovision a new ExpressRoute circuit.

如果要使用的资源超出了标准线路所允许的范围,可能无法禁用 Premium 加载项。Disabling the Premium add-on operation can fail if you're using resources that are greater than what is permitted for the standard circuit.

若要修改 ExpressRoute 线路,请单击“配置” 。To modify an ExpressRoute circuit, click Configuration.

修改线路

取消设置和删除 ExpressRoute 线路Deprovisioning and deleting an ExpressRoute circuit

可以通过选择“删除” 图标来删除 ExpressRoute 线路。You can delete your ExpressRoute circuit by selecting the delete icon. 请注意以下信息:Note the following information:

  • 必须取消所有虚拟网络与 ExpressRoute 线路的链接。You must unlink all virtual networks from the ExpressRoute circuit. 如果此操作失败,请检查是否有虚拟网络链接到了该线路。If this operation fails, check whether any virtual networks are linked to the circuit.
  • 如果 ExpressRoute 线路服务提供商预配状态为“正在预配” 或“已预配” ,则必须与服务提供商合作,在他们一端取消预配线路。If the ExpressRoute circuit service provider provisioning state is Provisioning or Provisioned you must work with your service provider to deprovision the circuit on their side. 在服务提供商取消对线路的预配并通知我们之前,我们会继续保留资源并收费。We continue to reserve resources and bill you until the service provider completes deprovisioning the circuit and notifies us.
  • 如果服务提供商已取消设置线路(服务提供商预配状态设置为“未预配” ),可以删除线路。If the service provider has deprovisioned the circuit (the service provider provisioning state is set to Not provisioned), you can delete the circuit. 这样就会停止对线路的计费。This stops billing for the circuit.

后续步骤Next steps

创建线路后,请继续执行以下后续步骤:After you create your circuit, continue with the following next steps: