Share:
Notifications
Clear all

How to check route in Fortigate firewall

1 Posts
1 Users
0 Likes
14 Views
(@kajal)
Posts: 48
Eminent Member
Topic starter
 

To check routes in Fortigate, you can use the following commands:

1. `get route` - Displays all routes in the routing table.
2. `get route | grep <destination_IP>` - Displays routes to a specific destination IP address.
3. `get route | grep <interface_name>` - Displays routes related to a specific interface.
4. `get route protocol <protocol_name>` - Displays routes learned via a specific protocol (e.g., OSPF, BGP, static).
5. `get route summary` - Displays a summary of routes, including protocol, destination, and interface.

Example:

`get route`

`Codes: K - kernel, C - connected, S - static, R - RIP, B - BGP`
`O - OSPF, IA - OSPF inter area`
`N - NHRP, T - Table, t - Table (v2)`

`S 0.0.0.0/0 [10/0] via 10.10.10.1, internal`
`C 10.10.10.0/24 is directly connected, internal`
`O 10.20.20.0/24 [110/10] via 10.10.10.2, internal`

 
Posted : 23/04/2024 7:55 pm
Share: