How do you check the routing table through command line? In checkpoint ?
CPUG: The Check Point User Group | |
Resources for the Check Point Community, by the Check Point Community.
| |
First, I hope you're all well and staying safe. | |
|
How do you check the routing table through command line? In checkpoint ?
'netstat -nr', 'route print', and 'ip route show' will all print the full routing table in various formats. Note that none of them include policy-based routing.
If you want to see what route a firewall will take to get to a given destination, try the command 'ip route get <destination>'. This is kind of like 'show ip route <destination>' on Cisco devices, but it doesn't show you the exact match. It only shows the gateway, interface, and so on.
In expert mode, as mentioned above, "ip route show" (ip r sh is enough) or, for completeness, "ip route show table all".
When in clish, use "show route all" and, to check on policy-based routing, "show pbr summary".
Note: None of those commands will show routes configured on interfaces that are currently down. routed will set up routes on interfaces only if they are up.
Whats the command for R80 ??
Commands should be the same in R80.x
http://phoneboy.org
Unless otherwise noted, views expressed are my own
Bookmarks