Check Point community forum
May 20, 2012, 09:45:25 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News:
 
  Home   Forum   Help Search Login Register   **
Welcome, Guest. Please login or register.
Did you miss your activation email?
May 20, 2012, 09:45:25 PM

Login with username, password and session length
Pages: [1]
  Print  
Author Topic: adding and deleting routes via the cli  (Read 1824 times)
CPbier
Newbie
*
Posts: 23


« on: February 18, 2008, 03:49:12 PM »

To set a route
Code:
Nokia> set static-route 192.168.1.0/24 nexthop gateway address 192.168.5.1 on

To delete the same route
Code:
Nokia> set static-route 192.168.1.0/24 nexthop gateway address 192.168.5.1 off

To show all routes
Code:
Nokia> show route
Logged
gunter
Newbie
*
Posts: 1


« Reply #1 on: February 19, 2008, 02:32:31 PM »

Don't forget "save config" to store the additional routes.

To add/remove a default route:
Code:
set static-route default nexthop gateway address 192.168.0.1 priority 1 on

Note that you can also do this directly from the bash prompt:
Code:
clish -s -c 'set static-route default nexthop gateway address 192.168.0.1 priority 1 on'

Gunter
Logged
CPbier
Newbie
*
Posts: 23


« Reply #2 on: March 06, 2008, 01:56:17 PM »

Do you know how to add the extra information like you have in the Voyager?
When I do a "show route" in clish this information does not show up.
Is an additional command necessary?

Z.
Logged
Pages: [1]
  Print  
 
Jump to:  

Recent
[May 14, 2012, 10:59:10 AM]

[May 14, 2012, 10:58:46 AM]

[May 14, 2012, 10:58:11 AM]

[May 14, 2012, 10:57:18 AM]

[May 14, 2012, 10:56:41 AM]

[May 14, 2012, 10:56:25 AM]

[May 14, 2012, 10:55:41 AM]

[May 14, 2012, 10:55:12 AM]

[May 14, 2012, 10:54:42 AM]

[May 14, 2012, 10:54:10 AM]
Members
Total Members: 246
Latest: balfaszok
Stats
Total Posts: 281
Total Topics: 174
Online Today: 5
Online Ever: 24
(May 19, 2012, 04:16:58 PM)
Users Online
Users: 0
Guests: 9
Total: 9
Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines
TinyPortal v0.9.8 © Bloc
Valid XHTML 1.0! Valid CSS!