Fortinet Document Library

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:


Table of Contents

CLI Reference

config router ospf6

Configure IPv6 OSPF.

config router ospf6

Description: Configure IPv6 OSPF.

set abr-type [cisco|ibm|...]

set auto-cost-ref-bandwidth {integer}

set default-information-originate [enable|always|...]

set log-neighbour-changes [enable|disable]

set default-information-metric {integer}

set default-information-metric-type [1|2]

set default-information-route-map {string}

set default-metric {integer}

set router-id {ipv4-address-any}

set spf-timers {user}

set bfd [enable|disable]

config area

Description: OSPF6 area configuration.

edit <id>

set default-cost {integer}

set nssa-translator-role [candidate|never|...]

set stub-type [no-summary|summary]

set type [regular|nssa|...]

set nssa-default-information-originate [enable|disable]

set nssa-default-information-originate-metric {integer}

set nssa-default-information-originate-metric-type [1|2]

set nssa-redistribution [enable|disable]

set authentication [none|ah|...]

set key-rollover-interval {integer}

set ipsec-auth-alg [md5|sha1|...]

set ipsec-enc-alg [null|des|...]

config ipsec-keys

Description: IPsec authentication and encryption keys.

edit <spi>

set auth-key {password}

set enc-key {password}

next

end

config range

Description: OSPF6 area range configuration.

edit <id>

set prefix6 {ipv6-network}

set advertise [disable|enable]

next

end

config virtual-link

Description: OSPF6 virtual link configuration.

edit <name>

set dead-interval {integer}

set hello-interval {integer}

set retransmit-interval {integer}

set transmit-delay {integer}

set peer {ipv4-address-any}

set authentication [none|ah|...]

set key-rollover-interval {integer}

set ipsec-auth-alg [md5|sha1|...]

set ipsec-enc-alg [null|des|...]

config ipsec-keys

Description: IPsec authentication and encryption keys.

edit <spi>

set auth-key {password}

set enc-key {password}

next

end

next

end

next

end

config ospf6-interface

Description: OSPF6 interface configuration.

edit <name>

set area-id {ipv4-address-any}

set interface {string}

set retransmit-interval {integer}

set transmit-delay {integer}

set cost {integer}

set priority {integer}

set dead-interval {integer}

set hello-interval {integer}

set status [disable|enable]

set network-type [broadcast|point-to-point|...]

set bfd [global|enable|...]

set mtu {integer}

set mtu-ignore [enable|disable]

set authentication [none|ah|...]

set key-rollover-interval {integer}

set ipsec-auth-alg [md5|sha1|...]

set ipsec-enc-alg [null|des|...]

config ipsec-keys

Description: IPsec authentication and encryption keys.

edit <spi>

set auth-key {password}

set enc-key {password}

next

end

config neighbor

Description: OSPFv3 neighbors are used when OSPFv3 runs on non-broadcast media

edit <ip6>

set poll-interval {integer}

set cost {integer}

set priority {integer}

next

end

next

end

config redistribute

Description: Redistribute configuration.

edit <name>

set status [enable|disable]

set metric {integer}

set routemap {string}

set metric-type [1|2]

next

end

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

config summary-address

Description: IPv6 address summary configuration.

edit <id>

set prefix6 {ipv6-network}

set advertise [disable|enable]

set tag {integer}

next

end

end

config router ospf6

Parameter

Description

Type

Size

Default

abr-type

Area border router type.

option

-

standard

 

Option

Description

cisco

Cisco.

ibm

IBM.

standard

Standard.

auto-cost-ref-bandwidth

Reference bandwidth in terms of megabits per second.

integer

Minimum value: 1 Maximum value: 1000000

1000

default-information-originate

Enable/disable generation of default route.

option

-

disable

 

Option

Description

enable

Enable setting.

always

Always advertise the default router.

disable

Disable setting.

log-neighbour-changes

Enable logging of OSPFv3 neighbour's changes

option

-

enable

 

Option

Description

enable

Enable setting.

disable

Disable setting.

default-information-metric

Default information metric.

integer

Minimum value: 1 Maximum value: 16777214

10

default-information-metric-type

Default information metric type.

option

-

2

 

Option

Description

1

Type 1.

2

Type 2.

default-information-route-map

Default information route map.

string

Maximum length: 35

default-metric

Default metric of redistribute routes.

integer

Minimum value: 1 Maximum value: 16777214

10

router-id

A.B.C.D, in IPv4 address format.

ipv4-address-any

Not Specified

0.0.0.0

spf-timers

SPF calculation frequency.

user

Not Specified

bfd

Enable/disable Bidirectional Forwarding Detection (BFD).

option

-

disable

 

Option

Description

enable

Enable Bidirectional Forwarding Detection (BFD).

disable

Disable Bidirectional Forwarding Detection (BFD).

passive-interface <name>

Passive interface configuration.

Passive interface name.

string

Maximum length: 79

config area

Parameter

Description

Type

Size

Default

default-cost

Summary default cost of stub or NSSA area.

integer

Minimum value: 0 Maximum value: 16777215

10

nssa-translator-role

NSSA translator role type.

option

-

candidate

 

Option

Description

candidate

Candidate.

never

Never.

always

Always.

stub-type

Stub summary setting.

option

-

summary

 

Option

Description

no-summary

No summary.

summary

Summary.

type

Area type setting.

option

-

regular

 

Option

Description

regular

Regular.

nssa

NSSA.

stub

Stub.

nssa-default-information-originate

Enable/disable originate type 7 default into NSSA area.

option

-

disable

 

Option

Description

enable

Enable originate type 7 default into NSSA area.

disable

Disable originate type 7 default into NSSA area.

nssa-default-information-originate-metric

OSPFv3 default metric.

integer

Minimum value: 0 Maximum value: 16777214

10

nssa-default-information-originate-metric-type

OSPFv3 metric type for default routes.

option

-

2

 

Option

Description

1

Type 1.

2

Type 2.

nssa-redistribution

Enable/disable redistribute into NSSA area.

option

-

enable

 

Option

Description

enable

Enable redistribute into NSSA area.

disable

Disable redistribute into NSSA area.

authentication

Authentication mode.

option

-

none

 

Option

Description

none

Disable authentication.

ah

Authentication Header.

esp

Encapsulating Security Payload.

key-rollover-interval

Key roll-over interval.

integer

Minimum value: 300 Maximum value: 216000

300

ipsec-auth-alg

Authentication algorithm.

option

-

md5

 

Option

Description

md5

MD5.

sha1

SHA1.

sha256

SHA256.

sha384

SHA384.

sha512

SHA512.

ipsec-enc-alg

Encryption algorithm.

option

-

null

 

Option

Description

null

No encryption.

des

DES.

3des

3DES.

aes128

AES128.

aes192

AES192.

aes256

AES256.

config ipsec-keys

Parameter

Description

Type

Size

Default

auth-key

Authentication key.

password

Not Specified

enc-key

Encryption key.

password

Not Specified

config ipsec-keys

Parameter

Description

Type

Size

Default

auth-key

Authentication key.

password

Not Specified

enc-key

Encryption key.

password

Not Specified

config range

Parameter

Description

Type

Size

Default

prefix6

IPv6 prefix.

ipv6-network

Not Specified

::/0

advertise

Enable/disable advertise status.

option

-

enable

 

Option

Description

disable

disable

enable

enable

config virtual-link

Parameter

Description

Type

Size

Default

dead-interval

Dead interval.

integer

Minimum value: 1 Maximum value: 65535

40

hello-interval

Hello interval.

integer

Minimum value: 1 Maximum value: 65535

10

retransmit-interval

Retransmit interval.

integer

Minimum value: 1 Maximum value: 65535

5

transmit-delay

Transmit delay.

integer

Minimum value: 1 Maximum value: 65535

1

peer

A.B.C.D, peer router ID.

ipv4-address-any

Not Specified

0.0.0.0

authentication

Authentication mode.

option

-

area

 

Option

Description

none

Disable authentication.

ah

Authentication Header.

esp

Encapsulating Security Payload.

area

Use the routing area's authentication configuration.

key-rollover-interval

Key roll-over interval.

integer

Minimum value: 300 Maximum value: 216000

300

ipsec-auth-alg

Authentication algorithm.

option

-

md5

 

Option

Description

md5

MD5.

sha1

SHA1.

sha256

SHA256.

sha384

SHA384.

sha512

SHA512.

ipsec-enc-alg

Encryption algorithm.

option

-

null

 

Option

Description

null

No encryption.

des

DES.

3des

3DES.

aes128

AES128.

aes192

AES192.

aes256

AES256.

config ipsec-keys

Parameter

Description

Type

Size

Default

auth-key

Authentication key.

password

Not Specified

enc-key

Encryption key.

password

Not Specified

config ipsec-keys

Parameter

Description

Type

Size

Default

auth-key

Authentication key.

password

Not Specified

enc-key

Encryption key.

password

Not Specified

config ospf6-interface

Parameter

Description

Type

Size

Default

area-id

A.B.C.D, in IPv4 address format.

ipv4-address-any

Not Specified

0.0.0.0

interface

Configuration interface name.

string

Maximum length: 15

retransmit-interval

Retransmit interval.

integer

Minimum value: 1 Maximum value: 65535

5

transmit-delay

Transmit delay.

integer

Minimum value: 1 Maximum value: 65535

1

cost

Cost of the interface, value range from 0 to 65535, 0 means auto-cost.

integer

Minimum value: 0 Maximum value: 65535

0

priority

priority

integer

Minimum value: 0 Maximum value: 255

1

dead-interval

Dead interval.

integer

Minimum value: 1 Maximum value: 65535

0

hello-interval

Hello interval.

integer

Minimum value: 1 Maximum value: 65535

0

status

Enable/disable OSPF6 routing on this interface.

option

-

enable

 

Option

Description

disable

Disable OSPF6 routing.

enable

Enable OSPF6 routing.

network-type

Network type.

option

-

broadcast

 

Option

Description

broadcast

broadcast

point-to-point

point-to-point

non-broadcast

non-broadcast

point-to-multipoint

point-to-multipoint

point-to-multipoint-non-broadcast

point-to-multipoint and non-broadcast.

bfd

Enable/disable Bidirectional Forwarding Detection (BFD).

option

-

global

 

Option

Description

global

Use global configuration of Bidirectional Forwarding Detection (BFD).

enable

Enable Bidirectional Forwarding Detection (BFD) on this interface.

disable

Disable Bidirectional Forwarding Detection (BFD) on this interface.

mtu

MTU for OSPFv3 packets.

integer

Minimum value: 576 Maximum value: 65535

0

mtu-ignore

Enable/disable ignoring MTU field in DBD packets.

option

-

disable

 

Option

Description

enable

Ignore MTU field in DBD packets.

disable

Do not ignore MTU field in DBD packets.

authentication

Authentication mode.

option

-

area

 

Option

Description

none

Disable authentication.

ah

Authentication Header.

esp

Encapsulating Security Payload.

area

Use the routing area's authentication configuration.

key-rollover-interval

Key roll-over interval.

integer

Minimum value: 300 Maximum value: 216000

300

ipsec-auth-alg

Authentication algorithm.

option

-

md5

 

Option

Description

md5

MD5.

sha1

SHA1.

sha256

SHA256.

sha384

SHA384.

sha512

SHA512.

ipsec-enc-alg

Encryption algorithm.

option

-

null

 

Option

Description

null

No encryption.

des

DES.

3des

3DES.

aes128

AES128.

aes192

AES192.

aes256

AES256.

config ipsec-keys

Parameter

Description

Type

Size

Default

auth-key

Authentication key.

password

Not Specified

enc-key

Encryption key.

password

Not Specified

config ipsec-keys

Parameter

Description

Type

Size

Default

auth-key

Authentication key.

password

Not Specified

enc-key

Encryption key.

password

Not Specified

config neighbor

Parameter

Description

Type

Size

Default

poll-interval

Poll interval time in seconds.

integer

Minimum value: 1 Maximum value: 65535

10

cost

Cost of the interface, value range from 0 to 65535, 0 means auto-cost.

integer

Minimum value: 0 Maximum value: 65535

0

priority

priority

integer

Minimum value: 0 Maximum value: 255

1

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: 0 Maximum value: 16777214

0

routemap

Route map name.

string

Maximum length: 35

metric-type

Metric type.

option

-

2

 

Option

Description

1

Type 1.

2

Type 2.

config summary-address

Parameter

Description

Type

Size

Default

prefix6

IPv6 prefix.

ipv6-network

Not Specified

::/0

advertise

Enable/disable advertise status.

option

-

enable

 

Option

Description

disable

disable

enable

enable

tag

Tag value.

integer

Minimum value: 0 Maximum value: 4294967295

0

config router ospf6

Configure IPv6 OSPF.

config router ospf6

Description: Configure IPv6 OSPF.

set abr-type [cisco|ibm|...]

set auto-cost-ref-bandwidth {integer}

set default-information-originate [enable|always|...]

set log-neighbour-changes [enable|disable]

set default-information-metric {integer}

set default-information-metric-type [1|2]

set default-information-route-map {string}

set default-metric {integer}

set router-id {ipv4-address-any}

set spf-timers {user}

set bfd [enable|disable]

config area

Description: OSPF6 area configuration.

edit <id>

set default-cost {integer}

set nssa-translator-role [candidate|never|...]

set stub-type [no-summary|summary]

set type [regular|nssa|...]

set nssa-default-information-originate [enable|disable]

set nssa-default-information-originate-metric {integer}

set nssa-default-information-originate-metric-type [1|2]

set nssa-redistribution [enable|disable]

set authentication [none|ah|...]

set key-rollover-interval {integer}

set ipsec-auth-alg [md5|sha1|...]

set ipsec-enc-alg [null|des|...]

config ipsec-keys

Description: IPsec authentication and encryption keys.

edit <spi>

set auth-key {password}

set enc-key {password}

next

end

config range

Description: OSPF6 area range configuration.

edit <id>

set prefix6 {ipv6-network}

set advertise [disable|enable]

next

end

config virtual-link

Description: OSPF6 virtual link configuration.

edit <name>

set dead-interval {integer}

set hello-interval {integer}

set retransmit-interval {integer}

set transmit-delay {integer}

set peer {ipv4-address-any}

set authentication [none|ah|...]

set key-rollover-interval {integer}

set ipsec-auth-alg [md5|sha1|...]

set ipsec-enc-alg [null|des|...]

config ipsec-keys

Description: IPsec authentication and encryption keys.

edit <spi>

set auth-key {password}

set enc-key {password}

next

end

next

end

next

end

config ospf6-interface

Description: OSPF6 interface configuration.

edit <name>

set area-id {ipv4-address-any}

set interface {string}

set retransmit-interval {integer}

set transmit-delay {integer}

set cost {integer}

set priority {integer}

set dead-interval {integer}

set hello-interval {integer}

set status [disable|enable]

set network-type [broadcast|point-to-point|...]

set bfd [global|enable|...]

set mtu {integer}

set mtu-ignore [enable|disable]

set authentication [none|ah|...]

set key-rollover-interval {integer}

set ipsec-auth-alg [md5|sha1|...]

set ipsec-enc-alg [null|des|...]

config ipsec-keys

Description: IPsec authentication and encryption keys.

edit <spi>

set auth-key {password}

set enc-key {password}

next

end

config neighbor

Description: OSPFv3 neighbors are used when OSPFv3 runs on non-broadcast media

edit <ip6>

set poll-interval {integer}

set cost {integer}

set priority {integer}

next

end

next

end

config redistribute

Description: Redistribute configuration.

edit <name>

set status [enable|disable]

set metric {integer}

set routemap {string}

set metric-type [1|2]

next

end

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

config summary-address

Description: IPv6 address summary configuration.

edit <id>

set prefix6 {ipv6-network}

set advertise [disable|enable]

set tag {integer}

next

end

end

config router ospf6

Parameter

Description

Type

Size

Default

abr-type

Area border router type.

option

-

standard

 

Option

Description

cisco

Cisco.

ibm

IBM.

standard

Standard.

auto-cost-ref-bandwidth

Reference bandwidth in terms of megabits per second.

integer

Minimum value: 1 Maximum value: 1000000

1000

default-information-originate

Enable/disable generation of default route.

option

-

disable

 

Option

Description

enable

Enable setting.

always

Always advertise the default router.

disable

Disable setting.

log-neighbour-changes

Enable logging of OSPFv3 neighbour's changes

option

-

enable

 

Option

Description

enable

Enable setting.

disable

Disable setting.

default-information-metric

Default information metric.

integer

Minimum value: 1 Maximum value: 16777214

10

default-information-metric-type

Default information metric type.

option

-

2

 

Option

Description

1

Type 1.

2

Type 2.

default-information-route-map

Default information route map.

string

Maximum length: 35

default-metric

Default metric of redistribute routes.

integer

Minimum value: 1 Maximum value: 16777214

10

router-id

A.B.C.D, in IPv4 address format.

ipv4-address-any

Not Specified

0.0.0.0

spf-timers

SPF calculation frequency.

user

Not Specified

bfd

Enable/disable Bidirectional Forwarding Detection (BFD).

option

-

disable

<