Step 2: Display Key IP Header Information
Action
To display key IP header information if you have a firewall configured with a
logaction, enter the following JUNOS CLI operational mode command:user@host>show firewall logSample Output
user@R1>show firewall logTimeFilterA Interface ProSource address Destination address16:08:04 pfe Aso-1/1/0.0ICM123.168.10.65 123.168.10.66:2437316:08:03 pfe A so-1/1/0.0 ICM 123.168.10.65 123.168.10.66:2953116:08:02 pfe A so-1/1/0.0 ICM 123.168.10.65 123.168.10.66:2726516:08:01 pfe A so-1/1/0.0 OSP 123.168.10.65 212.0.0.5:4816:08:01 pfe A so-1/1/0.0 ICM 123.168.10.65 123.168.10.66:4394316:08:00 pfe A so-1/1/0.0 ICM 123.168.10.65 123.168.10.66:5857216:07:59 pfe A so-1/1/0.0 ICM 123.168.10.65 123.168.10.66:5630716:07:58 pfe A so-1/1/0.0 ICM 123.168.10.65 123.168.10.66:6018516:07:57 pfe A so-1/1/0.0 ICM 123.168.10.65 123.168.10.66:160016:07:56 pfe A so-1/1/0.0 ICM 123.168.10.65 123.168.10.66:650216:07:55 pfe A so-1/1/0.0 ICM 123.168.10.65 123.168.10.66:1754816:07:54 pfe A so-1/1/0.0 ICM 123.168.10.65 123.168.10.66:529816:07:53pfeA so-1/1/0.0 ICM 123.168.10.65 123.168.10.66:2453616:07:52sample-testA so-1/1/0.0 ICM 123.168.10.65 123.168.10.66:2437316:07:52 sample-test A local ICM 123.168.10.66 123.168.10.65:2232516:07:52 pfe A so-1/1/0.0 ICM 123.168.10.65 123.168.10.66:2790016:07:51 pfe A so-1/1/0.0 OSP 123.168.10.65 212.0.0.5:4816:07:51 sample-test A so-1/1/0.0 ICM 123.168.10.65 123.168.10.66:2953116:07:51 sample-test A local ICM 123.168.10.66 123.168.10.65:27483What It Means
The sample output shows key IP header information about firewall filters on the router. The source and destination addresses of packets provide important information when you investigate problems on the router.
The
Filterfield contains information about how a packet traveled through the router before it was handled by either the Routing Engine or the Packet Forwarding Engine.
- If the filter name appears in the
Filterfield, the Routing Engine handled the packet. For example,sample-testis a firewall filter configured at the [edit firewall] hierarchy level.- If the word
pfeappears in theFilterfield, the Packet Forwarding Engine handled the packet. The Packet Forwarding Engine receives information about the name of the firewall filter.All packets were accepted (
A). Other actions are discard (D) and reject (R).The
Interfacecolumn shows that all packets came throughso-1/1/0.0, andicmorospare the represented protocols. Other possible protocol names are:egp,gre,ipip,pim,resp,tcp, orudp.