Displaying the End-to-End Packet-Based Example Configuration

Purpose

Display the selective stateless packet-based services configuration.

Action

From the configuration mode in the CLI, enter the following commands:

The sample output in this section displays the complete configuration in the example.

On R0:

[edit]user@R0# show interfaces
ge-0/0/1 {description “Internal 1”unit 0 {family inet {address 10.1.1.2/24}}}
user@R0# show routing-optionsstatic {route 0.0.0.0/0 next-hop 10.1.1.1;}

On R2:

[edit]user@R2# show interfaces
ge-0/0/3 {description “Internet”unit 0 { family inet {address 1.1.1.2/30;}}}user@R2# show routing-optionsstatic {route 0.0.0.0/0 next-hop 1.1.1.1;}

On R3:

[edit]user@R3# show interfaces
ge-0/0/2 {description “Internal 2”unit 0 { family inet {address 10.2.1.2/24;}}}user@R3# show routing-optionsstatic {route 0.0.0.0/0 next-hop 10.2.1.1;}

On R1:

[edit]user@R1# show interfacesge-0/0/1 {description “internal 1”unit 0 { family inet {filter {input bypass-flow-filter;}address 10.1.1.1/24;}}}ge-0/0/2 {description “Internal 2”unit 0 { family inet {filter {input bypass-flow-filter;}address 10.2.1.1/24;}}}ge-0/0/3 {description “Internet”unit 0 { family inet {address 1.1.1.1/30;}}}user@R1# show routing-optionsstatic {route 0.0.0.0/0 next-hop 1.1.1.2;}user@R1# show firewallfamily inet {filter bypass-flow-filter {term bypass-flow-term-1 {from {source-address {10.1.1.0/24;}destination-address {10.2.1.0/24;}}then packet-mode;}term bypass-flow-term-2 {from {source-address {10.2.1.0/24;}destination-address {10.1.1.0/24;}}then packet-mode;}term accept-rest {then accept;}}}

Meaning

Verify that the output shows the intended configuration of the firewall filter, interfaces, and policies.

Verify that the terms are listed in the order in which you want the packets to be tested. You can move terms within a firewall filter by using the insert CLI command.

Related Topics

For a complete description of show interfaces command output, see the Junos Interfaces Command Reference.

For a complete description of show security zones and show security policies command outputs, see the Junos OS CLI Reference.

For a complete description of show firewall command output, see the Junos Routing Protocols and Policies Command Reference.