Fortinet white logo
Fortinet white logo

CLI Reference

config router rip

config router rip

Configure RIP.

config router rip

Description: Configure RIP.

set default-information-originate [enable|disable]

set default-metric {integer}

set max-out-metric {integer}

config distance

Description: Distance.

edit <id>

set prefix {ipv4-classnet-any}

set distance {integer}

set access-list {string}

next

end

config distribute-list

Description: Distribute list.

edit <id>

set status [enable|disable]

set direction [in|out]

set listname {string}

set interface {string}

next

end

config neighbor

Description: Neighbor.

edit <id>

set ip {ipv4-address}

next

end

config network

Description: Network.

edit <id>

set prefix {ipv4-classnet}

next

end

config offset-list

Description: Offset list.

edit <id>

set status [enable|disable]

set direction [in|out]

set access-list {string}

set offset {integer}

set interface {string}

next

end

set passive-interface <name1>, <name2>, ...

config redistribute

Description: Redistribute configuration.

edit <name>

set status [enable|disable]

set metric {integer}

set routemap {string}

next

end

set update-timer {integer}

set timeout-timer {integer}

set garbage-timer {integer}

set version [1|2]

config interface

Description: RIP interface configuration.

edit <name>

set auth-keychain {string}

set auth-mode [none|text|...]

set auth-string {password}

set receive-version {option1}, {option2}, ...

set send-version {option1}, {option2}, ...

set send-version2-broadcast [disable|enable]

set split-horizon-status [enable|disable]

set split-horizon [poisoned|regular]

set flags {integer}

next

end

end

config router rip

Parameter

Description

Type

Size

Default

default-information-originate

Enable/disable generation of default route.

option

-

disable

Option

Description

enable

Enable setting.

disable

Disable setting.

default-metric

Default metric.

integer

Minimum value: 1 Maximum value: 16

1

max-out-metric

Maximum metric allowed to output(0 means 'not set').

integer

Minimum value: 0 Maximum value: 15

0

passive-interface <name>

Passive interface configuration.

Passive interface name.

string

Maximum length: 79

update-timer

Update timer in seconds.

integer

Minimum value: 1 Maximum value: 2147483647

30

timeout-timer

Timeout timer in seconds.

integer

Minimum value: 5 Maximum value: 2147483647

180

garbage-timer

Garbage timer in seconds.

integer

Minimum value: 5 Maximum value: 2147483647

120

version

RIP version.

option

-

2

Option

Description

1

Version 1.

2

Version 2.

config distance

Parameter

Description

Type

Size

Default

prefix

Distance prefix.

ipv4-classnet-any

Not Specified

0.0.0.0 0.0.0.0

distance

Distance .

integer

Minimum value: 1 Maximum value: 255

0

access-list

Access list for route destination.

string

Maximum length: 35

config distribute-list

Parameter

Description

Type

Size

Default

status

Status.

option

-

disable

Option

Description

enable

Enable setting.

disable

Disable setting.

direction

Distribute list direction.

option

-

out

Option

Description

in

Filter incoming packets.

out

Filter outgoing packets.

listname

Distribute access/prefix list name.

string

Maximum length: 35

interface

Distribute list interface name.

string

Maximum length: 15

config neighbor

Parameter

Description

Type

Size

Default

ip

IP address.

ipv4-address

Not Specified

0.0.0.0

config network

Parameter

Description

Type

Size

Default

prefix

Network prefix.

ipv4-classnet

Not Specified

0.0.0.0 0.0.0.0

config offset-list

Parameter

Description

Type

Size

Default

status

Status.

option

-

enable

Option

Description

enable

Enable setting.

disable

Disable setting.

direction

Offset list direction.

option

-

out

Option

Description

in

Filter incoming packets.

out

Filter outgoing packets.

access-list

Access list name.

string

Maximum length: 35

offset

Offset.

integer

Minimum value: 1 Maximum value: 16

0

interface

Interface name.

string

Maximum length: 15

config redistribute

Parameter

Description

Type

Size

Default

status

Status.

option

-

disable

Option

Description

enable

Enable setting.

disable

Disable setting.

metric

Redistribute metric setting.

integer

Minimum value: 1 Maximum value: 16

0

routemap

Route map name.

string

Maximum length: 35

config interface

Parameter

Description

Type

Size

Default

auth-keychain

Authentication key-chain name.

string

Maximum length: 35

auth-mode

Authentication mode.

option

-

none

Option

Description

none

None.

text

Text.

md5

MD5.

auth-string

Authentication string/password.

password

Not Specified

receive-version

Receive version.

option

-

Option

Description

1

Version 1.

2

Version 2.

send-version

Send version.

option

-

Option

Description

1

Version 1.

2

Version 2.

send-version2-broadcast

Enable/disable broadcast version 1 compatible packets.

option

-

disable

Option

Description

disable

Disable broadcasting.

enable

Enable broadcasting.

split-horizon-status

Enable/disable split horizon.

option

-

enable

Option

Description

enable

Enable setting.

disable

Disable setting.

split-horizon

Enable/disable split horizon.

option

-

poisoned

Option

Description

poisoned

Poisoned.

regular

Regular.

flags

Flags.

integer

Minimum value: 0 Maximum value: 255

8

config router rip

config router rip

Configure RIP.

config router rip

Description: Configure RIP.

set default-information-originate [enable|disable]

set default-metric {integer}

set max-out-metric {integer}

config distance

Description: Distance.

edit <id>

set prefix {ipv4-classnet-any}

set distance {integer}

set access-list {string}

next

end

config distribute-list

Description: Distribute list.

edit <id>

set status [enable|disable]

set direction [in|out]

set listname {string}

set interface {string}

next

end

config neighbor

Description: Neighbor.

edit <id>

set ip {ipv4-address}

next

end

config network

Description: Network.

edit <id>

set prefix {ipv4-classnet}

next

end

config offset-list

Description: Offset list.

edit <id>

set status [enable|disable]

set direction [in|out]

set access-list {string}

set offset {integer}

set interface {string}

next

end

set passive-interface <name1>, <name2>, ...

config redistribute

Description: Redistribute configuration.

edit <name>

set status [enable|disable]

set metric {integer}

set routemap {string}

next

end

set update-timer {integer}

set timeout-timer {integer}

set garbage-timer {integer}

set version [1|2]

config interface

Description: RIP interface configuration.

edit <name>

set auth-keychain {string}

set auth-mode [none|text|...]

set auth-string {password}

set receive-version {option1}, {option2}, ...

set send-version {option1}, {option2}, ...

set send-version2-broadcast [disable|enable]

set split-horizon-status [enable|disable]

set split-horizon [poisoned|regular]

set flags {integer}

next

end

end

config router rip

Parameter

Description

Type

Size

Default

default-information-originate

Enable/disable generation of default route.

option

-

disable

Option

Description

enable

Enable setting.

disable

Disable setting.

default-metric

Default metric.

integer

Minimum value: 1 Maximum value: 16

1

max-out-metric

Maximum metric allowed to output(0 means 'not set').

integer

Minimum value: 0 Maximum value: 15

0

passive-interface <name>

Passive interface configuration.

Passive interface name.

string

Maximum length: 79

update-timer

Update timer in seconds.

integer

Minimum value: 1 Maximum value: 2147483647

30

timeout-timer

Timeout timer in seconds.

integer

Minimum value: 5 Maximum value: 2147483647

180

garbage-timer

Garbage timer in seconds.

integer

Minimum value: 5 Maximum value: 2147483647

120

version

RIP version.

option

-

2

Option

Description

1

Version 1.

2

Version 2.

config distance

Parameter

Description

Type

Size

Default

prefix

Distance prefix.

ipv4-classnet-any

Not Specified

0.0.0.0 0.0.0.0

distance

Distance .

integer

Minimum value: 1 Maximum value: 255

0

access-list

Access list for route destination.

string

Maximum length: 35

config distribute-list

Parameter

Description

Type

Size

Default

status

Status.

option

-

disable

Option

Description

enable

Enable setting.

disable

Disable setting.

direction

Distribute list direction.

option

-

out

Option

Description

in

Filter incoming packets.

out

Filter outgoing packets.

listname

Distribute access/prefix list name.

string

Maximum length: 35

interface

Distribute list interface name.

string

Maximum length: 15

config neighbor

Parameter

Description

Type

Size

Default

ip

IP address.

ipv4-address

Not Specified

0.0.0.0

config network

Parameter

Description

Type

Size

Default

prefix

Network prefix.

ipv4-classnet

Not Specified

0.0.0.0 0.0.0.0

config offset-list

Parameter

Description

Type

Size

Default

status

Status.

option

-

enable

Option

Description

enable

Enable setting.

disable

Disable setting.

direction

Offset list direction.

option

-

out

Option

Description

in

Filter incoming packets.

out

Filter outgoing packets.

access-list

Access list name.

string

Maximum length: 35

offset

Offset.

integer

Minimum value: 1 Maximum value: 16

0

interface

Interface name.

string

Maximum length: 15

config redistribute

Parameter

Description

Type

Size

Default

status

Status.

option

-

disable

Option

Description

enable

Enable setting.

disable

Disable setting.

metric

Redistribute metric setting.

integer

Minimum value: 1 Maximum value: 16

0

routemap

Route map name.

string

Maximum length: 35

config interface

Parameter

Description

Type

Size

Default

auth-keychain

Authentication key-chain name.

string

Maximum length: 35

auth-mode

Authentication mode.

option

-

none

Option

Description

none

None.

text

Text.

md5

MD5.

auth-string

Authentication string/password.

password

Not Specified

receive-version

Receive version.

option

-

Option

Description

1

Version 1.

2

Version 2.

send-version

Send version.

option

-

Option

Description

1

Version 1.

2

Version 2.

send-version2-broadcast

Enable/disable broadcast version 1 compatible packets.

option

-

disable

Option

Description

disable

Disable broadcasting.

enable

Enable broadcasting.

split-horizon-status

Enable/disable split horizon.

option

-

enable

Option

Description

enable

Enable setting.

disable

Disable setting.

split-horizon

Enable/disable split horizon.

option

-

poisoned

Option

Description

poisoned

Poisoned.

regular

Regular.

flags

Flags.

integer

Minimum value: 0 Maximum value: 255

8