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}

set recv-buffer-size {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-information-originate

Enable/disable generation of default route.

option

-

Option

Description

enable

Enable setting.

disable

Disable setting.

default-metric

Default metric.

integer

Minimum value: 1 Maximum value: 16

max-out-metric

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

integer

Minimum value: 0 Maximum value: 15

recv-buffer-size

Receiving buffer size.

integer

Minimum value: 8129 Maximum value: 2147483647

passive-interface <name>

Passive interface configuration.

Passive interface name.

string

Maximum length: 79

update-timer

Update timer in seconds.

integer

Minimum value: 5 Maximum value: 2147483647

timeout-timer

Timeout timer in seconds.

integer

Minimum value: 5 Maximum value: 2147483647

garbage-timer

Garbage timer in seconds.

integer

Minimum value: 5 Maximum value: 2147483647

version

RIP version.

option

-

Option

Description

1

Version 1.

2

Version 2.

config distance

Parameter

Description

Type

Size

prefix

Distance prefix.

ipv4-classnet-any

Not Specified

distance

Distance .

integer

Minimum value: 1 Maximum value: 255

access-list

Access list for route destination.

string

Maximum length: 35

config distribute-list

Parameter

Description

Type

Size

status

status

option

-

Option

Description

enable

Enable setting.

disable

Disable setting.

direction

Distribute list direction.

option

-

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

ip

IP address.

ipv4-address

Not Specified

config network

Parameter

Description

Type

Size

prefix

Network prefix.

ipv4-classnet

Not Specified

config offset-list

Parameter

Description

Type

Size

status

status

option

-

Option

Description

enable

Enable setting.

disable

Disable setting.

direction

Offset list direction.

option

-

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

interface

Interface name.

string

Maximum length: 15

config redistribute

Parameter

Description

Type

Size

status

status

option

-

Option

Description

enable

Enable setting.

disable

Disable setting.

metric

Redistribute metric setting.

integer

Minimum value: 1 Maximum value: 16

routemap

Route map name.

string

Maximum length: 35

config interface

Parameter

Description

Type

Size

auth-keychain

Authentication key-chain name.

string

Maximum length: 35

auth-mode

Authentication mode.

option

-

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

-

Option

Description

disable

Disable broadcasting.

enable

Enable broadcasting.

split-horizon-status

Enable/disable split horizon.

option

-

Option

Description

enable

Enable setting.

disable

Disable setting.

split-horizon

Enable/disable split horizon.

option

-

Option

Description

poisoned

Poisoned.

regular

Regular.

flags

flags

integer

Minimum value: 0 Maximum value: 255

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}

set recv-buffer-size {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-information-originate

Enable/disable generation of default route.

option

-

Option

Description

enable

Enable setting.

disable

Disable setting.

default-metric

Default metric.

integer

Minimum value: 1 Maximum value: 16

max-out-metric

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

integer

Minimum value: 0 Maximum value: 15

recv-buffer-size

Receiving buffer size.

integer

Minimum value: 8129 Maximum value: 2147483647

passive-interface <name>

Passive interface configuration.

Passive interface name.

string

Maximum length: 79

update-timer

Update timer in seconds.

integer

Minimum value: 5 Maximum value: 2147483647

timeout-timer

Timeout timer in seconds.

integer

Minimum value: 5 Maximum value: 2147483647

garbage-timer

Garbage timer in seconds.

integer

Minimum value: 5 Maximum value: 2147483647

version

RIP version.

option

-

Option

Description

1

Version 1.

2

Version 2.

config distance

Parameter

Description

Type

Size

prefix

Distance prefix.

ipv4-classnet-any

Not Specified

distance

Distance .

integer

Minimum value: 1 Maximum value: 255

access-list

Access list for route destination.

string

Maximum length: 35

config distribute-list

Parameter

Description

Type

Size

status

status

option

-

Option

Description

enable

Enable setting.

disable

Disable setting.

direction

Distribute list direction.

option

-

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

ip

IP address.

ipv4-address

Not Specified

config network

Parameter

Description

Type

Size

prefix

Network prefix.

ipv4-classnet

Not Specified

config offset-list

Parameter

Description

Type

Size

status

status

option

-

Option

Description

enable

Enable setting.

disable

Disable setting.

direction

Offset list direction.

option

-

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

interface

Interface name.

string

Maximum length: 15

config redistribute

Parameter

Description

Type

Size

status

status

option

-

Option

Description

enable

Enable setting.

disable

Disable setting.

metric

Redistribute metric setting.

integer

Minimum value: 1 Maximum value: 16

routemap

Route map name.

string

Maximum length: 35

config interface

Parameter

Description

Type

Size

auth-keychain

Authentication key-chain name.

string

Maximum length: 35

auth-mode

Authentication mode.

option

-

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

-

Option

Description

disable

Disable broadcasting.

enable

Enable broadcasting.

split-horizon-status

Enable/disable split horizon.

option

-

Option

Description

enable

Enable setting.

disable

Disable setting.

split-horizon

Enable/disable split horizon.

option

-

Option

Description

poisoned

Poisoned.

regular

Regular.

flags

flags

integer

Minimum value: 0 Maximum value: 255