All Products
Search
Document Center

Smart Access Gateway:Configure OSPF routing

Last Updated:Aug 28, 2026

Configure the Open Shortest Path First (OSPF) dynamic routing protocol for a Smart Access Gateway (SAG) device in the Smart Access Gateway console. The configuration has two phases: you configure the OSPF protocol parameters for the SAG device, and then you enable OSPF on the ports that must run the protocol.

How OSPF routing works

OSPF is a link-state dynamic routing protocol that runs within an autonomous system. OSPF advertises the status of the network ports between routers to automatically build a link state database and generate a shortest path tree. Each OSPF router uses these shortest paths to build its routing table. This enables rapid convergence of the routing table and reduces network latency.

When to use OSPF routing

Use the OSPF dynamic routing protocol on your SAG device when the structure of your on-premises network changes frequently, for example, when you add or remove networks. OSPF learns and adjusts routes in real time based on these changes. You do not need to change the route configuration manually, which reduces your operations and maintenance workload.

Prerequisites

  • The specification of your SAG device is SAG-1000.

Configure OSPF parameters for the SAG device

Configure the OSPF protocol parameters for the SAG device first. OSPF does not run on a port until you enable the protocol on that port, as described in Enable OSPF on a port.

  1. Log on to the Smart Access Gateway console.
  2. Use one of the following equivalent methods to go to the Device Settings page:

    • Click the instance ID of the SAG instance that you want to manage to go to the instance details page, and then click Device Settings.

    • In the Operation column of the SAG instance that you want to manage, choose More > Device Settings.

  3. On the Device Settings page, click the Manage Routes tab.

  4. In the OSPF Protocol Settings section, click Edit.

  5. On the Configure OSPF Protocol page, configure the basic information about the OSPF routing protocol. For a description of each parameter, see OSPF parameters.

Enable OSPF on a port

After you configure the OSPF parameters for the SAG device, enable the OSPF routing protocol on each port that must run OSPF. You perform the following steps on the same OSPF configuration page that you opened in the previous section, so you do not need to navigate to the page again.

  1. In the Dynamic Routing Settings section, select Enable OSPF Protocol.

  2. In the Operation column of the port that you want to manage, click Edit.

  3. On the Modify OSPF Dynamic Routing Settings page, select Enable OSPF to enable the OSPF routing protocol on the port, and then click OK.

    Note

    To stop a port from running OSPF, repeat this step for the port and select Disabled. The OSPF routing protocol is then not enabled on the port.

OSPF parameters

The following table describes the parameters that you configure for the OSPF routing protocol on the SAG device.

Parameter

Description

Area ID

The ID of the OSPF area. Valid values: 1 to 2,147,483,647.

Hello Time

The interval, in seconds, at which hello packets are sent. Valid values: 1 to 65,535.

Dead Time

The dead interval, in seconds, of an OSPF neighbor. If no hello packet is received within the Dead Time interval, the neighbor relationship is terminated. Valid values: 1 to 65,535.

Authentication Type

The authentication method that the OSPF routing protocol uses. For the supported methods and their password requirements, see Authentication methods.

Router ID

The router ID of the SAG device in OSPF. The value must be in the IPv4 address format. Example: 192.168.1.1.

Area Type

The type of the OSPF area. Default value: NSSA.

Authentication methods

Select one of the following authentication methods for the Authentication Type parameter:

  • Disable Authentication: Authentication is disabled.

  • Plain Text: Plaintext authentication is used. You must enter a plaintext password. The password must be 1 to 8 characters in length and can contain uppercase letters, lowercase letters, digits, hyphens (-), and underscores (_).

  • MD5 Authentication: MD5 authentication is used. You must enter an MD5 Key ID and an MD5 Key. Valid values of MD5 Key ID: 1 to 2,147,483,647. The MD5 Key must be 1 to 47 characters in length.