A Smart Access Gateway device (SAG) device can connect to Alibaba Cloud through a leased line. You can connect private networks to Alibaba Cloud through leased lines or Internet connections established by SAG devices. The Internet connection and leased line connection of an SAG device can back up each other to enhance the network reliability. This topic describes how to configure a leased line port in the SAG console.

Prerequisites

An SAG-1000 device is used.

Background information

You can connect private networks to Alibaba Cloud through leased lines. Leased lines can bypass the Internet service provider (ISP) to keep the network stable and prevent data theft during data transmission. This provides a more secure and faster network connection with lower latency. For more information, see What is Express Connect?.

After you connect a private network to an SAG device, the SAG device connects the private network to Alibaba Cloud through a leased line or over the Internet. This maintains network connections between your private network and Alibaba Cloud. If an SAG device is connected to a leased line, the leased line provides active network connections. When an error occurs in the leased line, the SAG device switches to the Internet to maintain network connections between the private network and Alibaba Cloud.

Procedure

  1. Log on to the Smart Access Gateway console.
  2. Choose one of the following methods to open the Device Management tab.
    • Click the ID of the target SAG instance. On the instance details page that appears, click Device Management.
    • Find the target SAG instance. In the Actions column, choose The More icon > Device Management.
  3. On the Device Management tab, click Manage Leased Lines.
    Note Make sure that the leased line role is assigned to a port of the SAG device. For more information, see Assign a role to a port.
  4. On the Manage Leased Lines tab, find the target port and click Hide Icon.
  5. Configure the port and click OK.
    • If you do not need to configure a sub port, you can click Edit in the Actions column to configure the leased line port.
      Note

      The default VLAN code of the leased line port is 0. This indicates that the leased line port is a physical port and you cannot assign sub ports to it.

    • If you want to add multiple sub ports to the leased line port, click Add in the Actions column.
    Set the following parameters.
    Parameter Description
    IP The IP address of the leased line port. For example: 192.168.1.1.
    Subnet Mask The subnet mask of the IP address of the leased line port. For example: 255.255.255.0.
    Port By default, the port assigned in the preceding step is used. You cannot modify this parameter.
    VLAN The VLAN code of the leased line port. Valid values: 1 to 4094. Default value: 0.
    Note If you want to enable the Border Gateway Protocol (BGP) for the leased line port, follow these steps:
  6. After you configure the leased line port, select a routing method for the port.
    • Static routing: uses static routing after the port is configured. In this case, you must add a static route to transmit data through a leased line. For more information, see Add a static route.
    • Dynamic routing: You can enable BGP for the target port.
      1. Click the Manage Routes tab. In the BGP Protocol Settings section, set the parameters. For more information, see Configure BGP routing.
      2. In the Leased Line Dynamic Routing Settings section, find the target port and click Edit in the Actions column.
      3. On the Modify Leased Line Dynamic Routing Settings page that appears, select Enable BGP and enter the IP address and autonomous system (AS) code of the peer port. Click OK.