show firewall
Syntax
Syntax (EX Series Switch)
Release Information
Command introduced before Junos OS Release 7.4.
Command introduced in Junos OS Release 9.0 for EX Series switches.
logical-system option introduced in Junos OS Release 9.3.
terse option introduced in Junos OS Release 9.4.
Description
Display statistics about configured firewall filters.
Options
- none
(Optional) Display statistics about configured firewall filters.
- filter filter-name
(Optional) Name of a configured filter.
- counter counter-name
(Optional) Name of a filter counter.
- logical-system (all | logical-system-name)
(Optional) Perform this operation on all logical systems or on a particular system.
- log
(Optional) Display log entries for firewall filters.
- terse
(Optional) Display firewall filter names only.
Required Privilege Level
view
Related Topics
List of Sample Output
show firewall filtershow firewall filter (Dynamic Input Filter)
show firewall (Logical Systems)
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
Field Name | Field Description |
|---|---|
Filter | Name of a filter that has been configured with the filter statement at the [edit firewall] hierarchy level. When an interface-specific filter is displayed, the name of the filter is followed by the full interface name and by either -i for an input filter or -o for an output filter. When dynamic filters are displayed, the name of the filter is followed by the full interface name and by either -in for an input filter or -out for an output filter. When a logical system–specific filter is displayed, the name of the filter is prefixed with two underscore (__) characters and the name of the logical system (for example, __ls1/filter1). |
Counters | Display filter counter information:
|
Policers | Display policer information:
|
Sample Output
show firewall filter
user@host> show firewall filter testFilter: test Counters: Name Bytes Packets Counter-1 0 0 Counter-2 0 0 Policers: Name Packets Policer-1 0
show firewall filter (Dynamic Input Filter)
user@host> show firewall filter dfwd-ge-5/0/0.1-inFilter: dfwd-ge-5/0/0.1-in Counters: Name Bytes Packets c1-ge-5/0/0.1-in 0 0
show firewall (Logical Systems)
user@host>show firewallFilter: __lr1/test Counters: Name Bytes Packets icmp 420 5 Filter: __default_bpdu_filter__ Filter: __lr1/inet_filter1 Counters: Name Bytes Packets inet_tcp_count 0 0 inet_udp_count 0 0 Filter: __lr1/inet_filter2 Counters: Name Bytes Packets inet_icmp_count 0 0 inet_pim_count 0 0 Filter: __lr2/inet_filter1 Counters: Name Bytes Packets inet_tcp_count 0 0 inet_udp_count 0 0
