[Contents] [Prev] [Next] [Index] [Report an Error] [No Frames]


Monitoring Stateful Firewall

This section shows how to set a stateful firewall statistics baseline, lists the system event logs associated with the stateful firewall feature, and describes the show commands you can use to view inspection lists, inspection parameters, current sessions, firewall configuration, license information, and firewall-related statistics.

System Event Logs

To troubleshoot and monitor your firewall, use the following system event logs:

For more information about using event logs, see the JUNOSe System Event Logging Reference Guide.

Establishing a Baseline for Firewall Statistics

You can establish a baseline for firewall statistics by setting a group of reference counters to zero. The router implements the baseline by reading and storing the statistics at the time the baseline is set, and then subtracting this baseline whenever you retrieve baseline-relative statistics.

baseline ip inspection global

baseline ip inspection name

Viewing Firewall Information

You can monitor the following aspects of IP by using show ip commands:


To Display
Command

Firewall inspection lists

show ip inspect

All inspection parameters

show ip inspect config

Information for a specified inspection list

show ip inspect name

Current sessions being tracked by the stateful firewall

show ip inspect session

All firewall-related statistics

show ip inspect statistics

Firewall license information

show license firewall

To set a statistics baseline for stateful firewall, use the baseline ip inspection global and baseline ip inspection name commands. Use the delta keyword with firewall show commands to specify that baselined statistics are to be shown.

You can use the output filtering feature of the show command to include or exclude lines of output based on a text string that you specify. See JUNOSe System Basics Configuration Guide, Chapter 2, Command-Line Interface, for details.

show ip inspect

show ip inspect config

show ip inspect name

show ip inspect session

host1#show ip inspect session
                                                 Time       Time
                                                since      since    Inspection
Entry       Source        Destination    Prot  Creation   last use     Name
------ ---------------- ---------------- ---- ---------- ---------- ----------
1      10.1.1.1:1038    13.1.1.1:23      TCP  00:00:49   00:00:07   listin
       Application
Entry     Used
------ -----------
1      TCP

show ip inspect statistics

host1#show ip inspect statistics
Virtual Router Statistics
Current Information
        Number of blocked destinations: 0
        Size of the half open table:    0
 
Statistics
Time since last reset 04:41:27
Evaluations                             : 3
Permits                                 : 3
Denies by rule                          : 0
Denies due to blocked destinations      : 0
Evaluate permitted but no resources     : 0
Denies for other reasons                : 0
 
Packets forwarded through firewall      : 28
Bytes forwarded through firewall        : 1770
 
Packets discarded (flow control error)  : 0
Packets discarded (packet error)        : 0
Packets discarded (reassembly)          : 0
Packets discarded (other)               : 2
 
Deleted half open connections           : 0
Total blocked destinations              : 0
Transitions into rate flood protection  : 0
Transitions out of rate flood protection: 0
Transitions into size flood protection  : 0
Transitions out of size flood protection: 0
 
 
  Dynamic Translation Type     Current       Peak     Accumulated    Failed
----------------------------  ----------  ----------  -----------  ----------
Fully Extended                         1           1            3           0

show license firewall



[Contents] [Prev] [Next] [Index] [Report an Error] [No Frames]