fw getifs

Description

Shows the list with this information:

  • The name of interfaces, to which the Check Point Firewall kernel attached.

  • The IP addresses assigned to the interfaces.

Notes:

  • This list shows only interfaces that have IP addresses assigned on them.

  • Related cpstat commands:

    • cpstat -f ifconfig os

    • cpstat -f interfaces fw

Syntax

fw [-d] getifs

Parameters

Parameter

Description

-d

Runs the command in debug mode.

Use only if you troubleshoot the command itself.

Best Practice - If you use this parameter, then redirect the output to a file, or use the script command to save the entire CLI session.

Example

[Expert@MyGW:0]# fw getifs
localhost eth0 192.168.30.40 255.255.255.0
localhost eth1 172.30.60.80 255.255.255.0
[Expert@MyGW:0]#