Clish is a command line shell to configure Gaia OS and IPSO OS settings.
To set a route (non-default):
HostName> set static-route NETWORK_ADDRESS/MASK_LENGTH nexthop gateway address GATEWAY_IP_ADDRESS priority <1-8> on
HostName> set static-route NETWORK_ADDRESS/MASK_LENGTH nexthop gateway logical INTERFACE_NAME priority <1-8> on
Examples:
To disable a route (non-default):
HostName> set static-route NETWORK_ADDRESS/MASK_LENGTH nexthop gateway address GATEWAY_IP_ADDRESS off
HostName> set static-route NETWORK_ADDRESS/MASK_LENGTH nexthop gateway logical INTERFACE_NAME off
Examples:
To delete a route (non-default) and all related paths:
HostName> set static-route <Destination IP address> off
Examples:
- Delete a route to 192.0.2.0/24 :
set static-route 192.0.2.0/24 off
To delete a path only:
HostName> set static-route <Destination IP address> nexthop gateway GATEWAY_IP_ADDRESS off
GATEWAY_IP_ADDRESS
- Next hop gateway IP address or interface name
Examples:
- Delete a path to 192.0.2.10 :
set static-route 192.0.2.10 nexthop gateway address 192.0.2.100 off
To set the default route:
HostName> set static-route default nexthop gateway address GATEWAY_IP_ADDRESS priority <1-8> on
HostName> set static-route default nexthop gateway logical INTERFACE_NAME priority <1-8> on
Examples:
To disable the default route:
HostName> set static-route default nexthop gateway address GATEWAY_IP_ADDRESS off
HostName> set static-route default nexthop gateway logical INTERFACE_NAME off
Example:
Important Note: To save the changes permanently, run "save config
" command.
Note: Check Point recommends to press "q" instead of Ctrl-C to return to the CLI prompt. Under certain circumstances, entering Ctrl-C repeatedly might result in the system dumping a core file and exiting the CLI.
If this occurs and there are configuration changes that you have not saved that you want to save, restart the CLI by entering Clish and then entering save config at the CLI prompt.
Related documentation:
|
Imported from Nokia support database
|
|
This solution is about products that are no longer supported and it will not be updated
|
Applies To:
- This solution replaces sk41346 and sk62741