All Products
Search
Document Center

Smart Access Gateway:Configure a leased line port

Last Updated:Apr 01, 2026

An SAG-1000 device can connect your private network to Alibaba Cloud through a leased line or the Internet. When both are configured, the leased line carries active traffic and the Internet connection serves as a backup. If the leased line fails, the device automatically switches to the Internet connection.

This topic describes how to configure a leased line port on an SAG-1000 device.

Prerequisites

Before you begin, make sure you have:

  • An SAG-1000 device

  • A leased line role assigned to at least one device port. For instructions, see Assign a role to a port.

You will also need the following information during configuration:

InformationDescriptionExample
IP addressIP address for the leased line port192.168.1.1
Subnet maskSubnet mask for the IP address255.255.255.0
VLAN codeVirtual local area network (VLAN) code for the port. Valid values: 1–4094. Set to 0 for a physical port (no sub ports).100

Configure a leased line port

  1. Log on to the Smart Access Gateway console.

  2. Open the Device Management tab using one of the following methods:

    • Click the ID of the SAG instance. On the instance details page, click Device Management.

    • Find the SAG instance. In the Actions column, click The More icon, then click Device Management.

  3. On the Device Management tab, click Manage Leased Lines.

  4. On the Manage Leased Lines tab, find the target port and click Hide Icon to expand it.

  5. Configure the port based on whether you need sub ports:

    • No sub ports needed: Click Edit in the Actions column to configure the physical port directly.

      Note

      The default VLAN code is 0, which means the port is a physical port. A physical port cannot have sub ports assigned.

    • Sub ports needed: Click Add in the Actions column to create a sub port.

    Set the following parameters:

    ParameterDescriptionConstraints and example
    IPIP address of the leased line portExample: 192.168.1.1
    Subnet maskSubnet mask for the IP addressExample: 255.255.255.0
    PortPort assigned in the previous stepRead-only. Cannot be changed.
    VLANVLAN code for the leased line portValid values: 1–4094. Default: 0 (physical port, no sub ports).
  6. Click OK.

  7. Select a routing method:

    • Static routing: Add a static route to direct traffic through the leased line. For instructions, see Add a static route.

    • Dynamic routing (BGP): Enable Border Gateway Protocol (BGP) for the port:

      1. Click the Manage Routes tab. In the BGP Protocol Settings section, set the BGP parameters. For details, 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, select Enable BGP, enter the IP address and autonomous system (AS) code of the peer port, then click OK.