Displaying the Packet-Based to Flow-Based Example Configuration

Purpose

Display the selective stateless packet-based services configuration for packet-based to flow-based forwarding.

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/2 {description “Connect to Master-VR”unit 0 {family inet {address 9.9.9.9/24}}}
user@R0# show protocolsospf {area 0.0.0.0/0 {interface ge-0/0/2.0;}}

On R2:

[edit]user@R2# show interfacesge-0/0/3 {description “Connect to Internet-VR”unit 0 { family inet {address 5.5.5.9/24;}}}
user@R2# show protocolsospf {area 0.0.0.0/0 {interface ge-0/0/3.0;}}

On R1:

[edit]user@R1# show interfacesge-0/0/2 {description “Connect to R0”unit 0 { family inet {filter {input bypass-flow-filter;}address 9.9.9.10/24;}}}lt-0/0/0 {unit 0 { encapsulation frame-relay;dlci 100;peer-unit 1;family inet {filter {input bypass-flow-filter}address 1.1.1.1/16;}}unit 1{ encapsulation frame-relay;dlci 100;peer-unit 0;family inet {address 1.1.1.2/16;}}}user@R1# show protocolsospf {area 0.0.0.0/0 {interface ge-0/0/2.0;interface lt-0/0/0.0;}}user@R1# show firewallfilter bypass-flow-filter {term bypass-flow-term {then {packet-mode;accept;}}}
user@R1# show routing-instancesInternet-VR {instance-type virtual-router;interface lt-0/0/0.1;interface ge-0/0/3.0;protocols {ospf {area 0.0.0.0 {interface ge-0/0/3.0;lt-0/0/0.1;}}}}
user@R1# show securityzones {security-zone HOST {host-inbound-traffic {system-services {any-service;}protocols {all;}}interfaces {all;}}}policies {default-policy {permit-all;}}

Meaning

Verify that the output shows the intended configuration of the firewall filter, routing instances, 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.