Defining a static routing table on the Edge SWG (ProxySG)
search cancel

Defining a static routing table on the Edge SWG (ProxySG)

book

Article ID: 165653

calendar_today

Updated On:

Products

ProxySG Software - SGOS Advanced Secure Gateway Software - ASG

Issue/Introduction

Defining a static routing table on the Edge SWG (ProxySG)
You want to define a static routing table

Resolution

A routing table is a text file containing a list of IP addresses, subnet masks and gateways (up to 10,000 entries). Here is a sample routing table:

10.25.36.0  255.255.255.0  10.25.46.57
10.25.37.0  255.255.255.0  10.25.46.58
10.25.38.0  255.255.255.0  10.25.46.59

From the Management Console:

  • Select Configuration > Network > Routing > Routing
  • In the "Install Routing Table from" drop-down list, select the method used to install the routing table and click Install.
    • "Remote URL" allows you to load a file from a local HTTP or FTP server using the fully qualified URL, including the file name, of the routing table.
    • "Local File" allows you to browse to a routing table stored on a local computer or network system.
    • "Text Editor" allows you to modify the current routing table.
  • Click Apply.

From the CLI:

  • Use the inline command to create a routing table directly in the CLI:
    SGOS#(config)inline static-route-table end-of-file_marker paste or enter contents of routing table inline

eof

  • Or enter a path to a remote URL where the routing table is located
    SGOS# (config) static-routes path url
    SGOS# (config) load static-route-table

Example

proxy#(config)inline static-route-table 123 <-- End-of-file marker
10.25.36.0  255.255.255.0  10.25.46.57
123 <-- End-of-file marker

Note: The End-of-file marker have to be exactly the same as indicated as being 123 shown above.