beautypg.com

System route, Command syntax pattern, Example – Fortinet Version 3.0 User Manual

Page 70

background image

FortiBridge Version 3.0 Administration Guide

70

09-30000-0163-20061109

system route

config CLI commands

system route

Use this command to add or edit FortiBridge static routes.

Command syntax pattern

config system route

edit

set

end

config router static

unset

get system route

show system route

Example

This example shows how to edit a FortiBridge static route.

config system route

edit 2

set dst 192.168.22.0 255.255.255.0

set gateway 192.168.22.44

end

This example shows how to display the list of static route numbers.

get system route

This example shows how to display the settings for static route 2.

get system route 2

This example shows how to display the static route configuration.

show system route

This example shows how to display the configuration for static route 2.

show system route 2

Keywords and variables

Description

Default

distance

The administrative distance for the route. Using administrative
distance you can specify the relative priorities of different routes to the
same destination. A lower administrative distance indicates a more
preferred route. Distance can be an integer from 1-255.

10

dst

address_ipv4mask>

The destination IP address and netmask for this route.
Enter 0.0.0.0 0.0.0.0 for the destination IP address and netmask
to add a default route.

0.0.0.0
0.0.0.0

gateway

address_ipv4>

The IP address of the first next hop router to which this route directs
traffic.

No
default.