Difference between revisions of "Nokia firewall hosts file editing"
From cpwiki.net
				
								
				
				
																
				
				
								
				
 (Pushed from Themanclub.)  | 
			 (Pushed from Themanclub.)  | 
			||
| Line 3: | Line 3: | ||
adding a new host entry through clish:  | adding a new host entry through clish:  | ||
| − | + |    NokiaIP2450[admin]# clish  | |
| − |    NokiaIP2450:104> add host name   | + |    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   | + |    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   | + |    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