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}
    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
    set garbage-timer {integer}
    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
    set max-out-metric {integer}
    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>, ...
    set recv-buffer-size {integer}
    config redistribute
        Description: Redistribute configuration.
        edit <name>
            set status [enable|disable]
            set metric {integer}
            set routemap {string}
        next
    end
    set timeout-timer {integer}
    set update-timer {integer}
    set version [1|2]
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

garbage-timer

Garbage timer in seconds.

integer

Minimum value: 5 Maximum value: 2147483647

120

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

recv-buffer-size

Receiving buffer size.

integer

Minimum value: 8129 Maximum value: 2147483647

655360 **

timeout-timer

Timeout timer in seconds.

integer

Minimum value: 5 Maximum value: 2147483647

180

update-timer

Update timer in seconds.

integer

Minimum value: 1 Maximum value: 2147483647

30

version

RIP version.

option

-

2

Option

Description

1

Version 1.

2

Version 2.

** Values may differ between models.

config distance

Parameter

Description

Type

Size

Default

id

Distance ID.

integer

Minimum value: 0 Maximum value: 4294967295

0

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

id

Distribute list ID.

integer

Minimum value: 0 Maximum value: 4294967295

0

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 interface

Parameter

Description

Type

Size

Default

name

Interface name.

string

Maximum length: 35

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 neighbor

Parameter

Description

Type

Size

Default

id

Neighbor entry ID.

integer

Minimum value: 0 Maximum value: 4294967295

0

ip

IP address.

ipv4-address

Not Specified

0.0.0.0

config network

Parameter

Description

Type

Size

Default

id

Network entry ID.

integer

Minimum value: 0 Maximum value: 4294967295

0

prefix

Network prefix.

ipv4-classnet

Not Specified

0.0.0.0 0.0.0.0

config offset-list

Parameter

Description

Type

Size

Default

id

Offset-list ID.

integer

Minimum value: 0 Maximum value: 4294967295

0

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

name

Redistribute name.

string

Maximum length: 35

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 router rip

config router rip

Configure RIP.

config router rip
    Description: Configure RIP.
    set default-information-originate [enable|disable]
    set default-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
    set garbage-timer {integer}
    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
    set max-out-metric {integer}
    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>, ...
    set recv-buffer-size {integer}
    config redistribute
        Description: Redistribute configuration.
        edit <name>
            set status [enable|disable]
            set metric {integer}
            set routemap {string}
        next
    end
    set timeout-timer {integer}
    set update-timer {integer}
    set version [1|2]
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

garbage-timer

Garbage timer in seconds.

integer

Minimum value: 5 Maximum value: 2147483647

120

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

recv-buffer-size

Receiving buffer size.

integer

Minimum value: 8129 Maximum value: 2147483647

655360 **

timeout-timer

Timeout timer in seconds.

integer

Minimum value: 5 Maximum value: 2147483647

180

update-timer

Update timer in seconds.

integer

Minimum value: 1 Maximum value: 2147483647

30

version

RIP version.

option

-

2

Option

Description

1

Version 1.

2

Version 2.

** Values may differ between models.

config distance

Parameter

Description

Type

Size

Default

id

Distance ID.

integer

Minimum value: 0 Maximum value: 4294967295

0

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

id

Distribute list ID.

integer

Minimum value: 0 Maximum value: 4294967295

0

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 interface

Parameter

Description

Type

Size

Default

name

Interface name.

string

Maximum length: 35

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 neighbor

Parameter

Description

Type

Size

Default

id

Neighbor entry ID.

integer

Minimum value: 0 Maximum value: 4294967295

0

ip

IP address.

ipv4-address

Not Specified

0.0.0.0

config network

Parameter

Description

Type

Size

Default

id

Network entry ID.

integer

Minimum value: 0 Maximum value: 4294967295

0

prefix

Network prefix.

ipv4-classnet

Not Specified

0.0.0.0 0.0.0.0

config offset-list

Parameter

Description

Type

Size

Default

id

Offset-list ID.

integer

Minimum value: 0 Maximum value: 4294967295

0

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

name

Redistribute name.

string

Maximum length: 35

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