show firewall
Syntax
- show firewall
- <counter counter-name>
- <filter filter-name>
- log (detail | interface interface-name)
- terse
Release Information
Command introduced in JUNOS Release 9.0 for EX Series switches.
Description
Display statistics about configured firewall filters.
Options
none — Display statistics about all configured firewall filters, counters, and policers.
counter counter-name — (Optional) Display statistics about a particular firewall filter counter.
filter filter-name — (Optional) Display statistics about a particular firewall filter.
log (detail | interface interface-name) — (Optional) Display detailed log entries of firewall activity or log information about a specific interface.
terse — (Optional) Display firewall filter names only.
Required Privilege Level
view
List of Sample Output
show firewallshow firewall (filter filter-name)
show firewall (counter counter-name)
show firewall log
Output Fields
Table 1 lists the output fields for the show firewall command. Output fields are listed in the approximate order in which they appear.
Table 1: show firewall Output Fields
Sample Output
user@host> show firewall
Filter: egress-vlan-filter Counters: Name Bytes Packets employee-web-counter 0 0 Filter: ingress-port-filter Counters: Name Bytes Packets ingress-port-counter 0 0 Filter: ingress-port-voip-class-filter Counters: Name Bytes Packets icmp-counter 0 0 Policers: Name Packets icmp-connection-policer 0 tcp-connection-policer 0
show firewall (filter filter-name)
user@host> show firewall filter egress-vlan-filter
Filter: egress-vlan-filter Counters: Name Bytes Packets employee-web-counter 0 0
show firewall (counter counter-name)
user@host> show firewall counter icmp-counter
Filter: ingress-port-voip-class-filter Counters: Name Bytes Packets icmp-counter 0 0
user@host> show firewall log
Log : Time Filter Action Interface Protocol Src Addr Dest Addr 08:00:53 pfe R ge-1/0/1.0 ICMP 192.168.3.5 192.168.3.4 08:00:52 pfe R ge-1/0/1.0 ICMP 192.168.3.5 192.168.3.4 08:00:51 pfe R ge-1/0/1.0 ICMP 192.168.3.5 192.168.3.4 08:00:50 pfe R ge-1/0/1.0 ICMP 192.168.3.5 192.168.3.4 08:00:49 pfe R ge-1/0/1.0 ICMP 192.168.3.5 192.168.3.4 08:00:48 pfe R ge-1/0/1.0 ICMP 192.168.3.5 192.168.3.4 08:00:47 pfe R ge-1/0/1.0 ICMP 192.168.3.5 192.168.3.4