Fortinet white logo
Fortinet white logo

CLI Reference

diagnose ip route

diagnose ip route

Routing table.

This topic includes the following commands:

diagnose ip route add

Add static route.

diagnose ip route add <intf-name> <XXX.XXX.XXX.XXX>

Parameter

Description

Type

Size

<intf-name>

Interface Name.

string

<XXX.XXX.XXX.XXX>

IP address.

string

diagnose ip route delete

Delete static route.

diagnose ip route delete <intf-name> <XXX.XXX.XXX.XXX>

Parameter

Description

Type

Size

<intf-name>

Interface Name.

string

<XXX.XXX.XXX.XXX>

IP address.

string

diagnose ip route list

List routing table.

diagnose ip route list

diagnose ip route match

Match kernel route.

diagnose ip route match <XXX.XXX.XXX.XXX>

Parameter

Description

Type

Size

<XXX.XXX.XXX.XXX>

Destination address.

string

diagnose ip route verify

Verify static route.

diagnose ip route verify <intf-name> <XXX.XXX.XXX.XXX>

Parameter

Description

Type

Size

<intf-name>

Interface Name.

string

<XXX.XXX.XXX.XXX>

IP address.

string

diagnose ip route

diagnose ip route

Routing table.

This topic includes the following commands:

diagnose ip route add

Add static route.

diagnose ip route add <intf-name> <XXX.XXX.XXX.XXX>

Parameter

Description

Type

Size

<intf-name>

Interface Name.

string

<XXX.XXX.XXX.XXX>

IP address.

string

diagnose ip route delete

Delete static route.

diagnose ip route delete <intf-name> <XXX.XXX.XXX.XXX>

Parameter

Description

Type

Size

<intf-name>

Interface Name.

string

<XXX.XXX.XXX.XXX>

IP address.

string

diagnose ip route list

List routing table.

diagnose ip route list

diagnose ip route match

Match kernel route.

diagnose ip route match <XXX.XXX.XXX.XXX>

Parameter

Description

Type

Size

<XXX.XXX.XXX.XXX>

Destination address.

string

diagnose ip route verify

Verify static route.

diagnose ip route verify <intf-name> <XXX.XXX.XXX.XXX>

Parameter

Description

Type

Size

<intf-name>

Interface Name.

string

<XXX.XXX.XXX.XXX>

IP address.

string