Fortinet white logo
Fortinet white logo

CLI Reference

diagnose vpn tunnel

diagnose vpn tunnel

IPsec tunnel.

This topic includes the following commands:

diagnose vpn tunnel bundle-list

List all bundles.

diagnose vpn tunnel bundle-list

diagnose vpn tunnel bundle-list name

List bundle by interface.

diagnose vpn tunnel bundle-list name

diagnose vpn tunnel bundle-list vdom

List bundle by VDOM.

diagnose vpn tunnel bundle-list vdom

diagnose vpn tunnel delinbsa

Remove tunnel sa.

diagnose vpn tunnel delinbsa <name> <spi>

Parameter

Description

Type

Size

<name>

Name of tunnel.

string

<spi>

SA SPI.

string

diagnose vpn tunnel deloutbsa

Remove tunnel sa.

diagnose vpn tunnel deloutbsa <name> <spi>

Parameter

Description

Type

Size

<name>

Name of tunnel.

string

<spi>

SA SPI.

string

diagnose vpn tunnel dialup-list

List dialup tunnel.

diagnose vpn tunnel dialup-list

diagnose vpn tunnel down

Shut down tunnel.

diagnose vpn tunnel down <phase2> <phase1> <serial>

Parameter

Description

Type

Size

<phase2>

Name of phase2.

string

<phase1>

Name of phase1.

string

<serial>

Phase2 serial number.

string

diagnose vpn tunnel fec

FEC statistics.

diagnose vpn tunnel fec <phase1> <1>

Parameter

Description

Type

Size

<phase1>

Name of phase1.

string

<1>

Clean the statistic.

string

diagnose vpn tunnel flush

Flush tunnel SAs.

diagnose vpn tunnel flush

diagnose vpn tunnel key-life-time

Override configured IPsec SA lifetime with specified value.

diagnose vpn tunnel key-life-time <life-time>

Parameter

Description

Type

Size

<life-time>

Life-time in seconds.

string

diagnose vpn tunnel list

List all tunnel.

diagnose vpn tunnel list

diagnose vpn tunnel list name

List tunnel by name.

diagnose vpn tunnel list name

diagnose vpn tunnel list number

List tunnel by number.

diagnose vpn tunnel list number <begin-index> <end-index>

Parameter

Description

Type

Size

<begin-index>

First index of tunnel.

string

<end-index>

Last index of tunnel.

string

diagnose vpn tunnel route4-priority

Update tunnel IPv4 route priority.

diagnose vpn tunnel route4-priority <name> <priority>

Parameter

Description

Type

Size

<name>

Name of tunnel.

string

<priority>

Priority of IPv4 route.

string

diagnose vpn tunnel route6-priority

Update tunnel IPv6 route priority.

diagnose vpn tunnel route6-priority <name> <priority>

Parameter

Description

Type

Size

<name>

Name of tunnel.

string

<priority>

Priority of IPv6 route.

string

diagnose vpn tunnel stat

Tunnel statistic info.

diagnose vpn tunnel stat

diagnose vpn tunnel stat flush

Flush tunnel stats by name.

diagnose vpn tunnel stat flush

diagnose vpn tunnel up

Activate tunnel.

diagnose vpn tunnel up <phase2> <phase1> <serial>

Parameter

Description

Type

Size

<phase2>

Name of phase2.

string

<phase1>

Name of phase1.

string

<serial>

Phase2 serial number.

string

diagnose vpn tunnel

diagnose vpn tunnel

IPsec tunnel.

This topic includes the following commands:

diagnose vpn tunnel bundle-list

List all bundles.

diagnose vpn tunnel bundle-list

diagnose vpn tunnel bundle-list name

List bundle by interface.

diagnose vpn tunnel bundle-list name

diagnose vpn tunnel bundle-list vdom

List bundle by VDOM.

diagnose vpn tunnel bundle-list vdom

diagnose vpn tunnel delinbsa

Remove tunnel sa.

diagnose vpn tunnel delinbsa <name> <spi>

Parameter

Description

Type

Size

<name>

Name of tunnel.

string

<spi>

SA SPI.

string

diagnose vpn tunnel deloutbsa

Remove tunnel sa.

diagnose vpn tunnel deloutbsa <name> <spi>

Parameter

Description

Type

Size

<name>

Name of tunnel.

string

<spi>

SA SPI.

string

diagnose vpn tunnel dialup-list

List dialup tunnel.

diagnose vpn tunnel dialup-list

diagnose vpn tunnel down

Shut down tunnel.

diagnose vpn tunnel down <phase2> <phase1> <serial>

Parameter

Description

Type

Size

<phase2>

Name of phase2.

string

<phase1>

Name of phase1.

string

<serial>

Phase2 serial number.

string

diagnose vpn tunnel fec

FEC statistics.

diagnose vpn tunnel fec <phase1> <1>

Parameter

Description

Type

Size

<phase1>

Name of phase1.

string

<1>

Clean the statistic.

string

diagnose vpn tunnel flush

Flush tunnel SAs.

diagnose vpn tunnel flush

diagnose vpn tunnel key-life-time

Override configured IPsec SA lifetime with specified value.

diagnose vpn tunnel key-life-time <life-time>

Parameter

Description

Type

Size

<life-time>

Life-time in seconds.

string

diagnose vpn tunnel list

List all tunnel.

diagnose vpn tunnel list

diagnose vpn tunnel list name

List tunnel by name.

diagnose vpn tunnel list name

diagnose vpn tunnel list number

List tunnel by number.

diagnose vpn tunnel list number <begin-index> <end-index>

Parameter

Description

Type

Size

<begin-index>

First index of tunnel.

string

<end-index>

Last index of tunnel.

string

diagnose vpn tunnel route4-priority

Update tunnel IPv4 route priority.

diagnose vpn tunnel route4-priority <name> <priority>

Parameter

Description

Type

Size

<name>

Name of tunnel.

string

<priority>

Priority of IPv4 route.

string

diagnose vpn tunnel route6-priority

Update tunnel IPv6 route priority.

diagnose vpn tunnel route6-priority <name> <priority>

Parameter

Description

Type

Size

<name>

Name of tunnel.

string

<priority>

Priority of IPv6 route.

string

diagnose vpn tunnel stat

Tunnel statistic info.

diagnose vpn tunnel stat

diagnose vpn tunnel stat flush

Flush tunnel stats by name.

diagnose vpn tunnel stat flush

diagnose vpn tunnel up

Activate tunnel.

diagnose vpn tunnel up <phase2> <phase1> <serial>

Parameter

Description

Type

Size

<phase2>

Name of phase2.

string

<phase1>

Name of phase1.

string

<serial>

Phase2 serial number.

string