Example – Fortinet 100A User Manual

Page 172

Advertising
background image

172

01-28007-0068-20041203

Fortinet Inc.

config router ospf

Router

config range

edit <id_integer>

get

end

config range

edit <id_integer>

show

end

Example

This example shows how to set the prefix for range 1 of area 15.1.1.1.

config router ospf

config area

edit 15.1.1.1

config range

edit 1

set prefix 1.1.0.0 255.255.0.0

end

end

This example shows how to display the settings for area 15.1.1.1.

config router ospf

config area

edit 15.1.1.1

get
end

This example shows how to display the configuration for area 15.1.1.1.

Note: Only the prefix keyword is required. All other keywords are optional.

range command keywords and variables

Keywords and
variables

Description

Default

Availability

advertise
{disable | enable}

Enable or disable advertising the specified

range.

enable

All models.

prefix
<address_ipv4mask>

Specify the range of addresses to

summarize.

No

default

All models.

substitute
<address_ipv4mask>

Enter a prefix to advertise instead of the

prefix defined for the range. The prefix

0.0.0.0 0.0.0.0 is not allowed.

No

default.

All models.

substitute-status
{disable | enable}

Enable or disable using a substitute prefix. disable All models.

Advertising