Difference between revisions of "Nokia firewall hosts file editing"

From cpwiki.net
Jump to: navigation, search
Check Point Profressional Services
(Pushed from Themanclub.)
 
(Pushed from Themanclub.)
 
Line 3: Line 3:
 
adding a new host entry through clish:
 
adding a new host entry through clish:
  
   firewall-2450[admin]# clish
+
   NokiaIP2450[admin]# clish
   NokiaIP2450:104> add host name dallab-2450 ipv4 192.168.1.1
+
   NokiaIP2450:104> add host name firewall-2450 ipv4 192.168.1.1
 
   NokiaIP2450:104> save config
 
   NokiaIP2450:104> save config
  
 
alter existing entry:
 
alter existing entry:
  
   NokiaIP2450:104> set host name dallab-2450 ipv4 192.168.1.1
+
   NokiaIP2450:104> set host name firewall-2450 ipv4 192.168.1.1
  
 
delete existing line / entry:
 
delete existing line / entry:
  
   NokiaIP2450:104> delete host name dallab-2450
+
   NokiaIP2450:104> delete host name firewall-2450
  
 
[[category:nokia]]
 
[[category:nokia]]

Latest revision as of 15:43, 24 May 2013

You cannot directly edit the hosts file on nokia check point firewalls.

adding a new host entry through clish:

 NokiaIP2450[admin]# clish
 NokiaIP2450:104> add host name firewall-2450 ipv4 192.168.1.1
 NokiaIP2450:104> save config

alter existing entry:

 NokiaIP2450:104> set host name firewall-2450 ipv4 192.168.1.1

delete existing line / entry:

 NokiaIP2450:104> delete host name firewall-2450